From: xuhuicong Date: Tue, 27 Jun 2017 09:17:26 +0000 (+0800) Subject: arm64: dts: rk3368-r88: add hdmi sound card X-Git-Tag: release-20171130_firefly~4^2~291 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7f4985d21cac117d394266f514807db9290c2793;p=firefly-linux-kernel-4.4.55.git arm64: dts: rk3368-r88: add hdmi sound card Change-Id: I2a81102c7e110a2fe36ec8ba3622ebb63cc91066 Signed-off-by: xuhuicong --- 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 {