ARM: dts: rk3288-evb: Add lvds device node on rk3288-evb board

Enable LVDS driver on rk3288-evb board, and attch the "cpt,claa070wp03xg"
simple panel to it.

Note that lvds-panel and edp-panel share the same enable-gpios, and one
gpio couldn't request for twice, so just a hack that I delete the enable-gpios
numbers from lvds-panel.

Due to there are only two vop module, that's to say we can't keep enable
eDP / LVDS / HDMI at the same time, so this time we still keep LVDS device
disabled. So if you want to test lvds device, then you should disable the
HDMI or eDP device, and enable the LVDS device, like:

 &hdmi {
        ddc-i2c-bus = <&i2c5>;
-       status = "okay";
+       status = "disabled";
 };

 &lvds {
        rockchip,data-width = <24>;
        rockchip,output = "lvds";
        rockchip,panel = <&lvds_panel>;
-       status = "disabled";
+       status = "okay";
 };

Signed-off-by: Yakir Yang <ykk@rock-chips.com>
(cherry picked from commit ad350853190db8ab1cfca1382ac0e7772d35524c)
This commit is contained in:
Yakir Yang
2016-01-27 16:23:43 +08:00
committed by Chris Zhong
parent f19f45a1a9
commit a7ce3801d4

View File

@@ -94,7 +94,7 @@
pwms = <&pwm0 0 1000000 PWM_POLARITY_INVERTED>;
};
panel: panel {
edp_panel: edp_dp_panel {
compatible ="sdk,f402","simple-panel";
status = "okay";
power-supply = <&vcc_lcd>;
@@ -104,6 +104,15 @@
backlight = <&backlight>;
};
lvds_panel: lvds_panel {
compatible ="cpt,claa070wp03xg","simple-panel";
status = "okay";
power-supply = <&vcc_lcd>;
pinctrl-names = "default";
pinctrl-0 = <&lcd_cs>;
backlight = <&backlight>;
};
gpio-keys {
compatible = "gpio-keys";
#address-cells = <1>;
@@ -275,7 +284,7 @@
&edp {
status = "okay";
rockchip,panel = <&panel>;
rockchip,panel = <&edp_panel>;
};
&emmc {
@@ -323,6 +332,14 @@
status = "okay";
};
&lvds {
rockchip,data-mapping = "jeida";
rockchip,data-width = <24>;
rockchip,output = "lvds";
rockchip,panel = <&lvds_panel>;
status = "disabled";
};
&vopb {
status = "okay";
};