ARM64: dts: rk3399-evb: disable spdif sound default
authorSugar Zhang <sugar.zhang@rock-chips.com>
Mon, 13 Jun 2016 10:35:51 +0000 (18:35 +0800)
committerSugar Zhang <sugar.zhang@rock-chips.com>
Mon, 13 Jun 2016 10:35:51 +0000 (18:35 +0800)
this patch disable spdif sound in rk3399-evb.dtsi, and enable on
product dts side as required.

Change-Id: Icf61f13aeafdfae4c7a52603ce23cf2c04c27ab4
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
arch/arm64/boot/dts/rockchip/rk3399-evb-rev1-android.dts
arch/arm64/boot/dts/rockchip/rk3399-evb-rev2-android.dts
arch/arm64/boot/dts/rockchip/rk3399-evb.dtsi

index 8a22c5eef3833c0a2f3ed4b52f2abc1490c4b51c..5cfff39b4f309f9b524dd815c30330b769c3558c 100644 (file)
 &hdmi_sound {
        status = "okay";
 };
+
+&spdif {
+       status = "okay";
+};
+
+&spdif_out {
+       status = "okay";
+};
+
+&spdif_sound {
+       status = "okay";
+};
index 46d040a071639d438c46d21c29b00df9ed1d18b8..e08ec2769d639e962be731a87e68680659e96729 100644 (file)
 &hdmi_sound {
        status = "okay";
 };
+
+&spdif {
+       status = "okay";
+};
+
+&spdif_out {
+       status = "okay";
+};
+
+&spdif_sound {
+       status = "okay";
+};
index 6a7c8fa78ef648a58fc4eb697f0bcc73a6edbdfd..210f2364883330b05e117a48115bdb89db4b7a59 100644 (file)
                };
        };
 
-       spdif-sound {
+       spdif_sound: spdif-sound {
+               status = "disabled";
                compatible = "simple-audio-card";
                simple-audio-card,name = "rockchip,spdif";
                simple-audio-card,cpu {
        };
 
        spdif_out: spdif-out {
+               status = "disabled";
                compatible = "linux,spdif-dit";
                #sound-dai-cells = <0>;
        };
 };
 
 &spdif {
-       status = "okay";
        #sound-dai-cells = <0>;
 };