From ab2e46bf9e32e9a2de647c3dd34ca9508d64d736 Mon Sep 17 00:00:00 2001 From: Jacob Chen Date: Fri, 15 Jul 2016 09:39:29 +0800 Subject: [PATCH] ARM: dts: rockchip: merge the hdmi-audio card with rt5616-codec card Change-Id: I2888cbb7df9d4cd9d270f7fd81f34b27b40997cc Signed-off-by: Yakir Yang Signed-off-by: Jacob Chen --- arch/arm/boot/dts/rk3036-kylin.dts | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/arch/arm/boot/dts/rk3036-kylin.dts b/arch/arm/boot/dts/rk3036-kylin.dts index 7cfe4bf0c712..e303f3d24900 100644 --- a/arch/arm/boot/dts/rk3036-kylin.dts +++ b/arch/arm/boot/dts/rk3036-kylin.dts @@ -56,12 +56,26 @@ "Headphone Jack", "HPOL", "Headphone Jack", "HPOR"; - simple-audio-card,cpu { - sound-dai = <&i2s>; + simple-audio-card,dai-link@0 { + format = "i2s"; + cpu { + sound-dai = <&i2s>; + }; + + codec { + sound-dai = <&rt5616>; + }; }; - simple-audio-card,codec { - sound-dai = <&rt5616>; + simple-audio-card,dai-link@1 { + format = "i2s"; + cpu { + sound-dai = <&i2s>; + }; + + codec { + sound-dai = <&hdmi>; + }; }; }; @@ -116,10 +130,6 @@ status = "okay"; }; -&hdmi_sound { - status = "okay"; -}; - &i2c1 { clock-frequency = <400000>;