[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1465997325-17830-1-git-send-email-ykk@rock-chips.com>
Date: Wed, 15 Jun 2016 21:28:45 +0800
From: Yakir Yang <ykk@...k-chips.com>
To: Mark Yao <mark.yao@...k-chips.com>,
Heiko Stuebner <heiko@...ech.de>
Cc: Russell King <linux@...linux.org.uk>,
David Airlie <airlied@...ux.ie>,
Thierry Reding <treding@...dia.com>,
Rob Herring <robh+dt@...nel.org>,
Ken Mixte <kmixter@...gle.com>, Ben Chan <benchan@...gle.com>,
Zheng Yang <zhengyang@...k-chips.com>,
Kumar Gala <galak@...eaurora.org>,
Ian Campbell <ijc+devicetree@...lion.org.uk>,
Pawel Moll <pawel.moll@....com>,
Mark Rutland <mark.rutland@....com>,
dri-devel@...ts.freedesktop.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-rockchip@...ts.infradead.org,
linux-arm-kernel@...ts.infradead.org,
Yakir Yang <ykk@...k-chips.com>
Subject: [PATCH 2/3] ARM: dts: rockchip: add simple sound card for RK3036 SoCs
Using I2S as the audio input source, and force the mclk_fs to 256.
Signed-off-by: Yakir Yang <ykk@...k-chips.com>
---
arch/arm/boot/dts/rk3036.dtsi | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/arch/arm/boot/dts/rk3036.dtsi b/arch/arm/boot/dts/rk3036.dtsi
index 843d2be..ecff071 100644
--- a/arch/arm/boot/dts/rk3036.dtsi
+++ b/arch/arm/boot/dts/rk3036.dtsi
@@ -335,6 +335,9 @@
rockchip,grf = <&grf>;
pinctrl-names = "default";
pinctrl-0 = <&hdmi_ctl>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ #sound-dai-cells = <0>;
status = "disabled";
hdmi_in: port {
@@ -347,6 +350,25 @@
};
};
+ hdmi_sound: hdmi-sound {
+ compatible = "simple-audio-card";
+ simple-audio-card,name = "rockchip,hdmi";
+ simple-audio-card,widgets = "Headphone", "Out Jack",
+ "Line", "In Jack";
+ status = "disabled";
+
+ simple-audio-card,dai-link {
+ format = "i2s";
+ mclk-fs = <256>;
+ cpu {
+ sound-dai = <&i2s>;
+ };
+ codec {
+ sound-dai = <&hdmi>;
+ };
+ };
+ };
+
timer: timer@...44000 {
compatible = "rockchip,rk3036-timer", "rockchip,rk3288-timer";
reg = <0x20044000 0x20>;
--
1.9.1
Powered by blists - more mailing lists