From c95e3c20869413cc0d170cf5c1334e103b28fc2a Mon Sep 17 00:00:00 2001 From: Xu Jianqun Date: Mon, 15 May 2017 10:48:58 +0800 Subject: [PATCH] arm: dts: rk3288: add dts for rk3288 evb with act8846 and edp Change-Id: I861ebd4f6fbe04809f1d450d1a6fd139125c9f67 Signed-off-by: Xu Jianqun --- arch/arm/boot/dts/Makefile | 2 +- ...act8846.dts => rk3288-evb-act8846-edp.dts} | 33 +++++++++++++++++++ 2 files changed, 34 insertions(+), 1 deletion(-) rename arch/arm/boot/dts/{rk3288-evb-act8846.dts => rk3288-evb-act8846-edp.dts} (92%) diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index f37752df7dab..a53f0e6bc37a 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -521,7 +521,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += \ rk3228-evb.dtb \ rk3229-echo-v10.dtb \ rk3229-evb.dtb \ - rk3288-evb-act8846.dtb \ + rk3288-evb-act8846-edp.dtb \ rk3288-evb-rk808.dtb \ rk3288-evb-rk818-edp.dtb \ rk3288-evb-rk818-mipi.dtb \ diff --git a/arch/arm/boot/dts/rk3288-evb-act8846.dts b/arch/arm/boot/dts/rk3288-evb-act8846-edp.dts similarity index 92% rename from arch/arm/boot/dts/rk3288-evb-act8846.dts rename to arch/arm/boot/dts/rk3288-evb-act8846-edp.dts index 5817289604ab..cfa8c382df49 100644 --- a/arch/arm/boot/dts/rk3288-evb-act8846.dts +++ b/arch/arm/boot/dts/rk3288-evb-act8846-edp.dts @@ -246,8 +246,41 @@ }; }; +&edp { + status = "okay"; +}; + &edp_panel { + compatible ="lg,lp079qx1-sp0v", "simple-panel"; + enable-gpios = <&gpio7 4 GPIO_ACTIVE_HIGH>; + pinctrl-0 = <&lcd_cs>; power-supply = <&vcc_lcd>; + delay,prepare = <120>; + status = "okay"; + + disp_timings: display-timings { + native-mode = <&timing0>; + + timing0: timing0 { + clock-frequency = <200000000>; + hactive = <1536>; + vactive = <2048>; + hfront-porch = <12>; + hsync-len = <16>; + hback-porch = <48>; + vfront-porch = <8>; + vsync-len = <4>; + vback-porch = <8>; + hsync-active = <0>; + vsync-active = <0>; + de-active = <0>; + pixelclk-active = <0>; + }; + }; +}; + +&edp_phy { + status = "okay"; }; &i2c1 { -- 2.34.1