From 409090aa4024574cc43b02cf572d63cef558adf8 Mon Sep 17 00:00:00 2001 From: Yakir Yang Date: Wed, 27 Jan 2016 16:23:43 +0800 Subject: [PATCH] ARM: dts: rk3288-evb: Add lvds device node on rk3288-evb board 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. If you want to enable lvds device, then you should disable the HDMI or eDP device, and enable the LVDS device. And one more thing that eDP panel and LVDS panel can't enable at the same time, cause both of them have the same enable gpio. If you still want to do this, there is an hack way that delete the 'enable-gpios' comptabile from 'lvds-panel'. Change-Id: Iecf71adc4d307dcdb8b7317a93430e99bb12e20a Signed-off-by: Yakir Yang --- arch/arm/boot/dts/rk3288-evb.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/rk3288-evb.dtsi b/arch/arm/boot/dts/rk3288-evb.dtsi index 21ac1d45551f..32ccc86af502 100644 --- a/arch/arm/boot/dts/rk3288-evb.dtsi +++ b/arch/arm/boot/dts/rk3288-evb.dtsi @@ -103,6 +103,14 @@ }; }; + lvds_panel: lvds_panel { + compatible ="auo,b101ew05","simple-panel"; + backlight = <&backlight>; + enable-gpios = <&gpio7 4 GPIO_ACTIVE_HIGH>; + pinctrl-0 = <&lcd_cs>; + status = "disabled"; + }; + gpio-keys { compatible = "gpio-keys"; #address-cells = <1>; @@ -355,6 +363,14 @@ status = "okay"; }; +&lvds { + rockchip,data-mapping = "jeida"; + rockchip,data-width = <24>; + rockchip,output = "lvds"; + rockchip,panel = <&lvds_panel>; + status = "disabled"; +}; + &vopb { status = "okay"; }; -- 2.34.1