From 7f4985d21cac117d394266f514807db9290c2793 Mon Sep 17 00:00:00 2001 From: xuhuicong Date: Tue, 27 Jun 2017 17:17:26 +0800 Subject: [PATCH] arm64: dts: rk3368-r88: add hdmi sound card Change-Id: I2a81102c7e110a2fe36ec8ba3622ebb63cc91066 Signed-off-by: xuhuicong --- arch/arm64/boot/dts/rockchip/rk3368-r88.dts | 23 +++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3368-r88.dts b/arch/arm64/boot/dts/rockchip/rk3368-r88.dts index 9155e72d19aa..ab20822247b0 100644 --- a/arch/arm64/boot/dts/rockchip/rk3368-r88.dts +++ b/arch/arm64/boot/dts/rockchip/rk3368-r88.dts @@ -49,6 +49,20 @@ model = "Rockchip R88"; compatible = "rockchip,r88", "rockchip,rk3368"; + hdmi_sound: hdmi-sound { + status = "okay"; + compatible = "simple-audio-card"; + simple-audio-card,format = "i2s"; + simple-audio-card,mclk-fs = <256>; + simple-audio-card,name = "rockchip,hdmi"; + simple-audio-card,cpu { + sound-dai = <&i2s_8ch>; + }; + simple-audio-card,codec { + sound-dai = <&hdmi>; + }; + }; + keys: gpio-keys { compatible = "gpio-keys"; #address-cells = <1>; @@ -157,6 +171,14 @@ }; }; +&i2s_8ch { + status = "okay"; + rockchip,i2s-broken-burst-len; + rockchip,playback-channels = <8>; + rockchip,capture-channels = <2>; + #sound-dai-cells = <0>; +}; + &emmc { status = "okay"; bus-width = <8>; @@ -543,6 +565,7 @@ &hdmi { status = "okay"; + #sound-dai-cells = <0>; }; &mailbox { -- 2.34.1