[PATCH 6/6] ARM: dts: rockchip: add hdmi audio nodes
From: Yakir Yang
Date: Sun Dec 14 2014 - 21:56:50 EST
Add hdmi_audio to rk3288.dtsi, enable hdmi_audio in rk3288-evb.dts
Signed-off-by: Yakir Yang <ykk@xxxxxxxxxxxxxx>
series-cc: Dominik Behr <dbehr@xxxxxxxxxxxx>
---
arch/arm/boot/dts/rk3288-evb.dtsi | 11 +++++++++++
arch/arm/boot/dts/rk3288.dtsi | 8 ++++++++
2 files changed, 19 insertions(+)
diff --git a/arch/arm/boot/dts/rk3288-evb.dtsi b/arch/arm/boot/dts/rk3288-evb.dtsi
index 3e067dd..53115d4 100644
--- a/arch/arm/boot/dts/rk3288-evb.dtsi
+++ b/arch/arm/boot/dts/rk3288-evb.dtsi
@@ -120,6 +120,17 @@
status = "okay";
};
+&i2s {
+ status = "okay";
+ clock-names = "i2s_hclk", "i2s_clk", "i2s_clk_out";
+ clocks = <&cru HCLK_I2S0>, <&cru SCLK_I2S0>,
+ <&cru SCLK_I2S0_OUT>;
+};
+
+&hdmi_audio {
+ status = "okay";
+};
+
&wdt {
status = "okay";
};
diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi
index fd19f00..3eeba16 100644
--- a/arch/arm/boot/dts/rk3288.dtsi
+++ b/arch/arm/boot/dts/rk3288.dtsi
@@ -588,6 +588,14 @@
interrupts = <GIC_PPI 9 0xf04>;
};
+ hdmi_audio: hdmi_audio {
+ compatible = "rockchip,rk3288-hdmi-audio";
+ cpu-of-node = <&i2s>;
+ codec-name = "dw-hdmi-audio";
+ codec-dai-name = "dw-hdmi-hifi";
+ status = "disable";
+ };
+
pinctrl: pinctrl {
compatible = "rockchip,rk3288-pinctrl";
rockchip,grf = <&grf>;
--
2.1.2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/