arm64: dts: rk3399: sapphire-excavator: enabled hdmi sound
authorwlq <wlq@rock-chips.com>
Thu, 23 Feb 2017 01:15:13 +0000 (09:15 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Thu, 9 Mar 2017 06:53:30 +0000 (14:53 +0800)
Change-Id: If95f0b885aa3afdbaa985b4b39628502075be90e
Signed-off-by: wlq <wlq@rock-chips.com>
arch/arm64/boot/dts/rockchip/rk3399-sapphire-excavator-edp.dts
arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi

index d4d609f3449f4e70beaff4d7000819e3853738c9..08cc37536bb5b150fce2f8970b0a9a814907f2ef 100644 (file)
@@ -44,6 +44,7 @@
 
 #include "rk3399-excavator-sapphire.dtsi"
 #include "rk3399-android.dtsi"
+#include "rk3399-vop-clk-set.dtsi"
 
 / {
        model = "Rockchip RK3399 Excavator Board edp (Android)";
        test-power {
                status = "okay";
        };
+
+       rt5651 {
+               status = "okay";
+       };
 };
 
 &backlight {
        status = "okay";
+       enable-gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;
+};
+
+&edp {
+       status = "okay";
+
+       ports {
+               edp_out: port@1 {
+                       reg = <1>;
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+
+                       edp_out_panel: endpoint@0 {
+                               reg = <0>;
+                               remote-endpoint = <&panel_in_edp>;
+                       };
+               };
+       };
+};
+
+&edp_in_vopl {
+       status = "disabled";
+};
+
+&hdmi {
+       status = "okay";
+};
+
+&hdmi_in_vopb {
+       status = "disabled";
+};
+
+&hdmi_sound {
+       status = "okay";
 };
 
 &i2s2 {
        };
 };
 
-&edp {
-       status = "okay";
+&vopb {
+       assigned-clocks = <&cru DCLK_VOP0_DIV>;
+       assigned-clock-parents = <&cru PLL_CPLL>;
+};
 
-       ports {
-               edp_out: port@1 {
-                       reg = <1>;
-                       #address-cells = <1>;
-                       #size-cells = <0>;
+&vopl {
+       assigned-clocks = <&cru DCLK_VOP1_DIV>;
+       assigned-clock-parents = <&cru PLL_VPLL>;
+};
 
-                       edp_out_panel: endpoint@0 {
-                               reg = <0>;
-                               remote-endpoint = <&panel_in_edp>;
-                       };
-               };
-       };
+&route_edp {
+       status = "okay";
 };
 
 &pinctrl {
        };
 };
 
-&backlight{
-       enable-gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;
-};
-
-&route_edp {
-       status = "okay";
-};
index 43caa35149831f1e4326eaf890b284c1d61791d9..2574d30fe15e02a0badcd8a0895c0c944fcca97d 100644 (file)
                        sound-dai = <&i2s2>;
                };
                simple-audio-card,codec {
-                       sound-dai = <&dw_hdmi_audio>;
+                       sound-dai = <&hdmi>;
                };
        };