From: Josep Orga Date: Sat, 18 Apr 2020 17:28:07 +0000 (+0200) Subject: ARM: dts: imx6ull-somdevices.dtsi: Add 4 and 7 inch LCD configurations. X-Git-Tag: rel_imx_4.19.35_1.1.0-somdevices.0~20 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=4322a2945b2c6040a825f60b8ed01fa9162d0452;p=linux.git ARM: dts: imx6ull-somdevices.dtsi: Add 4 and 7 inch LCD configurations. Signed-off-by: Josep Orga --- diff --git a/arch/arm/boot/dts/imx6ull-somdevices-C0P1.dts b/arch/arm/boot/dts/imx6ull-somdevices-C0P1.dts index 6df790fdf4f8..7024142619b6 100644 --- a/arch/arm/boot/dts/imx6ull-somdevices-C0P1.dts +++ b/arch/arm/boot/dts/imx6ull-somdevices-C0P1.dts @@ -1,3 +1,4 @@ #define DUAL_ETH +#define BIG_LCD #include "imx6ull-somdevices.dtsi" diff --git a/arch/arm/boot/dts/imx6ull-somdevices.dtsi b/arch/arm/boot/dts/imx6ull-somdevices.dtsi index 61517de1ab72..340023521720 100644 --- a/arch/arm/boot/dts/imx6ull-somdevices.dtsi +++ b/arch/arm/boot/dts/imx6ull-somdevices.dtsi @@ -6,6 +6,7 @@ * published by the Free Software Foundation. */ /* #define DUAL_ETH */ +/* #define BIG_LCD */ /* #define MMC_SPI */ /dts-v1/; @@ -639,20 +640,34 @@ display-timings { native-mode = <&timing0>; timing0: timing0 { - clock-frequency = <9200000>; - hactive = <480>; - vactive = <272>; - hfront-porch = <8>; - hback-porch = <4>; - hsync-len = <41>; - vback-porch = <2>; - vfront-porch = <4>; - vsync-len = <10>; - - hsync-active = <0>; - vsync-active = <0>; - de-active = <1>; - pixelclk-active = <0>; + #ifdef BIG_LCD + //7INCH LCD + clock-frequency = <33000000>; + hactive = <800>; + vactive = <480>; + hfront-porch = <210>; + hback-porch = <30>; + hsync-len = <16>; + vback-porch = <13>; + vfront-porch = <22>; + vsync-len = <10>; + #else + //4INCH LCD + clock-frequency = <9000000>; + hactive = <480>; + vactive = <272>; + hfront-porch = <2>; + hback-porch = <43>; + hsync-len = <0>; + vback-porch = <12>; + vfront-porch = <1>; + vsync-len = <0>; + #endif + + hsync-active = <0>; + vsync-active = <0>; + de-active = <1>; + pixelclk-active = <0>; }; }; };