From e20f9f299fc71e016c5d3a4aeb75f15dd28fc47b Mon Sep 17 00:00:00 2001 From: Sugar Zhang Date: Mon, 5 Jun 2017 16:20:12 +0800 Subject: [PATCH] arm64: dts: rk3328-evb: enable hdmi audio Change-Id: Ic67744ac5554b90b6d9f85eeedf4721562f8155f Signed-off-by: Sugar Zhang --- arch/arm64/boot/dts/rockchip/rk3328-evb.dts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3328-evb.dts b/arch/arm64/boot/dts/rockchip/rk3328-evb.dts index 85c066aef213..d85254a5f9f3 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328-evb.dts +++ b/arch/arm64/boot/dts/rockchip/rk3328-evb.dts @@ -97,6 +97,19 @@ }; }; + hdmi-sound { + compatible = "simple-audio-card"; + simple-audio-card,format = "i2s"; + simple-audio-card,mclk-fs = <128>; + simple-audio-card,name = "rockchip,hdmi"; + simple-audio-card,cpu { + sound-dai = <&i2s0>; + }; + simple-audio-card,codec { + sound-dai = <&hdmi>; + }; + }; + spdif-sound { compatible = "simple-audio-card"; simple-audio-card,name = "rockchip,spdif"; @@ -188,6 +201,7 @@ }; &hdmi { + #sound-dai-cells = <0>; status = "okay"; }; @@ -328,6 +342,12 @@ }; }; +&i2s0 { + #sound-dai-cells = <0>; + rockchip,bclk-fs = <128>; + status = "okay"; +}; + &i2s1 { #sound-dai-cells = <0>; status = "okay"; -- 2.34.1