diff options
author | Jagan Teki <jagan@amarulasolutions.com> | 2018-03-26 13:35:53 +0530 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2018-04-18 10:51:34 +0800 |
commit | 381071796dfbe13c944fd37a20577c2233d2dbc0 (patch) | |
tree | 8316c49665ffe5f94183022f2bcf400202a53096 | |
parent | 52c7a088badd665a09ca9307ffa91e88d5686a7d (diff) | |
download | op-kernel-dev-381071796dfbe13c944fd37a20577c2233d2dbc0.zip op-kernel-dev-381071796dfbe13c944fd37a20577c2233d2dbc0.tar.gz |
ARM: dts: imx6q-icore-ofcap12: Switch LVDS timings from panel-simple
Switch to use koe_tx31d200vm0baa LVDS timings from
panel-simple instead hard coding the same in dts.
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
-rw-r--r-- | arch/arm/boot/dts/imx6q-icore-ofcap12.dts | 31 | ||||
-rw-r--r-- | arch/arm/boot/dts/imx6qdl-icore.dtsi | 2 |
2 files changed, 18 insertions, 15 deletions
diff --git a/arch/arm/boot/dts/imx6q-icore-ofcap12.dts b/arch/arm/boot/dts/imx6q-icore-ofcap12.dts index 9e230f5..6e27c81 100644 --- a/arch/arm/boot/dts/imx6q-icore-ofcap12.dts +++ b/arch/arm/boot/dts/imx6q-icore-ofcap12.dts @@ -48,28 +48,31 @@ / { model = "Engicam i.CoreM6 Quad/Dual OpenFrame Capacitive touch 12 Kit"; compatible = "engicam,imx6-icore", "fsl,imx6q"; + + panel { + compatible = "koe,tx31d200vm0baa"; + backlight = <&backlight_lvds>; + + port { + panel_in: endpoint { + remote-endpoint = <&lvds0_out>; + }; + }; + }; }; &ldb { status = "okay"; lvds-channel@0 { - fsl,data-mapping = "spwg"; - fsl,data-width = <18>; + reg = <0>; status = "okay"; - display-timings { - native-mode = <&timing0>; - timing0: timing0 { - clock-frequency = <46800000>; - hactive = <1280>; - vactive = <480>; - hback-porch = <353>; - hfront-porch = <47>; - vback-porch = <39>; - vfront-porch = <4>; - hsync-len = <8>; - vsync-len = <2>; + port@4 { + reg = <4>; + + lvds0_out: endpoint { + remote-endpoint = <&panel_in>; }; }; }; diff --git a/arch/arm/boot/dts/imx6qdl-icore.dtsi b/arch/arm/boot/dts/imx6qdl-icore.dtsi index b3a463a..1bce85c3 100644 --- a/arch/arm/boot/dts/imx6qdl-icore.dtsi +++ b/arch/arm/boot/dts/imx6qdl-icore.dtsi @@ -49,7 +49,7 @@ reg = <0x10000000 0x80000000>; }; - backlight { + backlight_lvds: backlight-lvds { compatible = "pwm-backlight"; pwms = <&pwm3 0 100000>; brightness-levels = <0 4 8 16 32 64 128 255>; |