Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: imx6q-icore-ofcap10: Use 10.1" Ampire panel compatible

Adding display timings directly on device tree files make it difficult
to maintain as a same copy of timings may exist on different files or
panel-simple driver.

We have a panel-simple driver for this particular usage so supporting
on this driver will help to use the same timings on any device tree
files if the board mounted on a similar vendor display.

Engicam C.TOUCH OF 10.1" LCD board uses Ampire 10.1" TFT LCD and
it has supported by panel-simple already, so simply use that binding.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>

authored by

Jagan Teki and committed by
Shawn Guo
faa3b6df 79bd11db

+16 -12
+16 -12
arch/arm/boot/dts/imx6q-icore-ofcap10.dts
··· 12 12 / { 13 13 model = "Engicam i.CoreM6 Quad/Dual OpenFrame Capacitive touch 10.1 Kit"; 14 14 compatible = "engicam,imx6-icore", "fsl,imx6q"; 15 + 16 + panel { 17 + compatible = "ampire,am-1280800n3tzqw-t00h"; 18 + backlight = <&backlight_lvds>; 19 + 20 + port { 21 + panel_in: endpoint { 22 + remote-endpoint = <&lvds0_out>; 23 + }; 24 + }; 25 + }; 15 26 }; 16 27 17 28 &ldb { ··· 33 22 fsl,data-width = <24>; 34 23 status = "okay"; 35 24 36 - display-timings { 37 - native-mode = <&timing0>; 38 - timing0: timing0 { 39 - clock-frequency = <60000000>; 40 - hactive = <1280>; 41 - vactive = <800>; 42 - hback-porch = <40>; 43 - hfront-porch = <40>; 44 - vback-porch = <10>; 45 - vfront-porch = <3>; 46 - hsync-len = <80>; 47 - vsync-len = <10>; 25 + port@4 { 26 + reg = <4>; 27 + 28 + lvds0_out: endpoint { 29 + remote-endpoint = <&panel_in>; 48 30 }; 49 31 }; 50 32 };