ARM64: dts: rk3399: android: update dts config for vop
authorHuang Jiachai <hjc@rock-chips.com>
Fri, 3 Jun 2016 08:39:49 +0000 (16:39 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Fri, 3 Jun 2016 09:33:42 +0000 (17:33 +0800)
Change-Id: If2767606e154bfd5ba9d1d9481a4aeb18d1070d5
Signed-off-by: Huang Jiachai <hjc@rock-chips.com>
arch/arm64/boot/dts/rockchip/rk3399-android.dtsi
arch/arm64/boot/dts/rockchip/rk3399-evb-rev1-android.dts
arch/arm64/boot/dts/rockchip/rk3399-evb-rev2-android.dts

index 923ece3d478e71a8e3ee21cc451fd3434cdfede3..6571560b9806d15e9ce494908f2d67dd7dfb1f33 100644 (file)
        };
 
        fb: fb {
+               status = "okay";
                compatible = "rockchip,rk-fb";
                rockchip,disp-mode = <DUAL>;
        };
 
        rk_screen: screen {
+               status = "okay";
                compatible = "rockchip,screen";
-               #include <dt-bindings/display/screen-timing/lcd-tv080wum-nl0-mipi.dtsi>
        };
 
        vopb_rk_fb: vop-rk-fb@ff900000 {
+               status = "disabled";
                compatible = "rockchip,rk3399-lcdc";
                rockchip,prop = <PRMRY>;
                reg = <0x0 0xff900000 0x0 0x3efc>;
                rockchip,pwr18 = <0>;
                rockchip,iommu-enabled = <1>;
                power-domains = <&power RK3399_PD_VOPB>;
-               power_ctr: power_ctr {
-               /*rockchip,debug = <0>;
-               lcd_en: lcd-en {
-                       rockchip,power_type = <GPIO>;
-                       gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;//GPIO_C6 = 22
-                       rockchip,delay = <10>;
-               };
-               */
-
-               /*lcd_cs: lcd-cs {
-                       rockchip,power_type = <GPIO>;
-                       gpios = <&gpio0 21 GPIO_ACTIVE_HIGH>;//GPIO_C5 = 21
-                       rockchip,delay = <10>;
-               };*/
-
-               /*lcd_rst: lcd-rst {
-                       rockchip,power_type = <GPIO>;
-                       gpios = <&gpio3 GPIO_D6 GPIO_ACTIVE_HIGH>;
-                       rockchip,delay = <5>;
-               };*/
-               };
        };
 
        vopb_mmu_rk_fb: vopb-mmu {
+               status = "okay";
                dbgname = "vop";
                compatible = "rockchip,vopb_mmu";
                reg = <0x0 0xff903f00 0x0 0x100>;
        };
 
        vopl_rk_fb: vop-rk-fb@ff8f0000 {
+               status = "disabled";
                compatible = "rockchip,rk3399-lcdc";
                rockchip,prop = <EXTEND>;
                reg = <0x0 0xff8f0000 0x0 0x3efc>;
        };
 
        vopl_mmu_rk_fb: vopl-mmu {
+               status = "okay";
                dbgname = "vop";
                compatible = "rockchip,vopl_mmu";
                reg = <0x0 0xff8f3f00 0x0 0x100>;
index f048f6c2787c19fe4d4e1f77b43c62f7d9b68532..97f2f2d084a164611e1c34ea99c3d7e653440912 100644 (file)
        rockchip,pwm_id= <3>;
        rockchip,pwm_voltage = <900000>;
 };
+
+&rk_screen {
+       #include <dt-bindings/display/screen-timing/lcd-tv080wum-nl0-mipi.dtsi>
+};
+
+&vopb_rk_fb {
+       status = "okay";
+       power_ctr: power_ctr {
+               /*rockchip,debug = <0>;
+               lcd_en: lcd-en {
+                       rockchip,power_type = <GPIO>;
+                       gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;//GPIO_C6 = 22
+                       rockchip,delay = <10>;
+               };
+               */
+
+               /*lcd_cs: lcd-cs {
+                       rockchip,power_type = <GPIO>;
+                       gpios = <&gpio0 21 GPIO_ACTIVE_HIGH>;//GPIO_C5 = 21
+                       rockchip,delay = <10>;
+               };*/
+
+               /*lcd_rst: lcd-rst {
+                       rockchip,power_type = <GPIO>;
+                       gpios = <&gpio3 GPIO_D6 GPIO_ACTIVE_HIGH>;
+                       rockchip,delay = <5>;
+               };*/
+       };
+};
+
+&vopl_rk_fb {
+       status = "okay";
+};
index d7cd846c215febdd85e5a9e6423fdff4e04cf5a1..20dde52ac7f87f251fd083b62af0063dcb67506c 100644 (file)
        rockchip,pwm_id= <3>;
        rockchip,pwm_voltage = <900000>;
 };
+
+&rk_screen {
+       #include <dt-bindings/display/screen-timing/lcd-tv080wum-nl0-mipi.dtsi>
+};
+
+&vopb_rk_fb {
+       status = "okay";
+       power_ctr: power_ctr {
+               /*rockchip,debug = <0>;
+               lcd_en: lcd-en {
+                       rockchip,power_type = <GPIO>;
+                       gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;//GPIO_C6 = 22
+                       rockchip,delay = <10>;
+               };
+               */
+
+               /*lcd_cs: lcd-cs {
+                       rockchip,power_type = <GPIO>;
+                       gpios = <&gpio0 21 GPIO_ACTIVE_HIGH>;//GPIO_C5 = 21
+                       rockchip,delay = <10>;
+               };*/
+
+               /*lcd_rst: lcd-rst {
+                       rockchip,power_type = <GPIO>;
+                       gpios = <&gpio3 GPIO_D6 GPIO_ACTIVE_HIGH>;
+                       rockchip,delay = <5>;
+               };*/
+       };
+};
+
+&vopl_rk_fb {
+       status = "okay";
+};