arm64: dts: rk3328-evb: enable hdmi audio
authorSugar Zhang <sugar.zhang@rock-chips.com>
Mon, 5 Jun 2017 08:20:12 +0000 (16:20 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Tue, 6 Jun 2017 07:01:53 +0000 (15:01 +0800)
Change-Id: Ic67744ac5554b90b6d9f85eeedf4721562f8155f
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
arch/arm64/boot/dts/rockchip/rk3328-evb.dts

index 85c066aef21309b2968a86fb31c2e182a3ca2603..d85254a5f9f3ed50a486ef7d32642c61627dba8a 100644 (file)
                };
        };
 
+       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";
 };
 
 &hdmi {
+       #sound-dai-cells = <0>;
        status = "okay";
 };
 
        };
 };
 
+&i2s0 {
+       #sound-dai-cells = <0>;
+       rockchip,bclk-fs = <128>;
+       status = "okay";
+};
+
 &i2s1 {
        #sound-dai-cells = <0>;
        status = "okay";