ARM64: dts: rk3399-android: add hdmi-dp drm audio
authorSugar Zhang <sugar.zhang@rock-chips.com>
Wed, 8 Mar 2017 12:41:05 +0000 (20:41 +0800)
committerSugar Zhang <sugar.zhang@rock-chips.com>
Thu, 9 Mar 2017 10:07:00 +0000 (18:07 +0800)
this patch register hdmi and dp as one sound card, and compatible
single hdmi audio, single dp audio or both.

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

index bfda5a3f7e279ac2a2e61441606c8cea5a1500de..87e133b29d58d0d376f1170ff74c14cf94af365d 100644 (file)
                rockchip,uboot-charge-on = <1>;
                rockchip,android-charge-on = <0>;
        };
+
+       hdmi_dp_sound: hdmi-dp-sound {
+               status = "disabled";
+               compatible = "rockchip,rk3399-hdmi-dp";
+               rockchip,cpu = <&i2s2>;
+               rockchip,codec = <&hdmi>, <&cdn_dp>;
+       };
 };
 
 &vopb {