From: Yakir Yang Date: Wed, 27 Jan 2016 08:23:43 +0000 (+0800) Subject: ARM: dts: rk3288-evb: Add lvds device node on rk3288-evb board X-Git-Tag: firefly_0821_release~2204 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=409090aa4024574cc43b02cf572d63cef558adf8;p=firefly-linux-kernel-4.4.55.git 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 --- 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"; };