diff options
author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2022-10-21 15:16:56 +0200 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2023-07-18 10:09:50 +0200 |
commit | 984cf7345bd2d38063ebd5d81af8082f195b4bf2 (patch) | |
tree | a4729fd9a7f9e07d5d4f52ce39116ed5be652f7e /overlays | |
parent | 34529b0e4549dc9d3fcb04eef259e46bb76a8bc2 (diff) |
verdin-imx8mm: add dsi-to-lvds_panel-cap-touch-10inch-lvds overlay
Add Verdin DSI to LVDS Adapter (dsi-to-lvds) with Capacitive Touch
Display 10.1" LVDS (panel-cap-touch-10inch-lvds) device tree overlay
compatible with mainline/master/upstream v6.5-rc2 Linux kernel and
device trees.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'overlays')
-rw-r--r-- | overlays/Makefile | 1 | ||||
-rw-r--r-- | overlays/display-lt170410_sn65dsi84_overlay.dtsi | 54 | ||||
-rw-r--r-- | overlays/verdin-imx8_mipi-dsi-to-sn65dsi84.dtsi | 44 | ||||
-rw-r--r-- | overlays/verdin-imx8mm_dsi-to-lvds_panel-cap-touch-10inch-lvds_overlay.dts | 44 |
4 files changed, 143 insertions, 0 deletions
diff --git a/overlays/Makefile b/overlays/Makefile index 607e5c7..9ad76e0 100644 --- a/overlays/Makefile +++ b/overlays/Makefile @@ -52,6 +52,7 @@ dtb-y += colibri-imx7_panel-cap-touch-10inch-lvds_overlay.dtbo dtb-y += colibri-imx7_panel-res-touch-7inch_overlay.dtbo dtb-y += colibri-imx7_spidev_overlay.dtbo dtb-y += colibri-imx7_vga-640x480_overlay.dtbo +dtb-y += verdin-imx8mm_dsi-to-lvds_panel-cap-touch-10inch-lvds_overlay.dtbo dtb-y += verdin-imx8mm_nau8822-btl_overlay.dtbo dtb-y += verdin-imx8mm_spidev_overlay.dtbo dtb-y += verdin-imx8mp_spidev_overlay.dtbo diff --git a/overlays/display-lt170410_sn65dsi84_overlay.dtsi b/overlays/display-lt170410_sn65dsi84_overlay.dtsi new file mode 100644 index 0000000..14c8f3b --- /dev/null +++ b/overlays/display-lt170410_sn65dsi84_overlay.dtsi @@ -0,0 +1,54 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2022 Toradex + */ + +// Verdin DSI to LVDS Adapter with connected LT170410 display (10 inch) with a +// resolution of 1280x800 pixel. Adapter and display can be ordered at Toradex. + +&lvds_ti_sn65dsi84 { + status = "okay"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@2 { + reg = <2>; + + lvds_out_panel: endpoint { + remote-endpoint = <&panel_in_lvds>; + }; + }; + }; +}; + +&panel_lvds { + compatible = "panel-lvds"; + backlight = <&backlight>; + data-mapping = "vesa-24"; + height-mm = <136>; + power-supply = <®_3p3v>; + width-mm = <217>; + status = "okay"; + + panel-timing { + clock-frequency = <68900000 71100000 73400000>; + de-active = <1>; + hactive = <1280 1280 1280>; + hback-porch = <23 60 71>; + hfront-porch = <23 60 71>; + hsync-len = <15 40 47>; + pixelclk-active = <1>; /* positive edge */ + vactive = <800 800 800>; + vback-porch = <5 7 10>; + vfront-porch = <5 7 10>; + vsync-len = <6 9 12>; + }; + + port { + panel_in_lvds: endpoint { + remote-endpoint = <&lvds_out_panel>; + }; + }; +}; diff --git a/overlays/verdin-imx8_mipi-dsi-to-sn65dsi84.dtsi b/overlays/verdin-imx8_mipi-dsi-to-sn65dsi84.dtsi new file mode 100644 index 0000000..3810320 --- /dev/null +++ b/overlays/verdin-imx8_mipi-dsi-to-sn65dsi84.dtsi @@ -0,0 +1,44 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2022 Toradex + */ + +// Common Code to setup MIPI DSI to SN65DSI84 + +&lvds_ti_sn65dsi84 { + compatible = "ti,sn65dsi84"; + status = "okay"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + dsi84_in: endpoint { + data-lanes = <1 2 3 4>; + remote-endpoint = <&mipi_dsi_bridge1_out>; + }; + }; + }; +}; + +&mipi_dsi { + samsung,esc-clock-frequency = <16000000>; + status = "okay"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@1 { + reg = <1>; + + mipi_dsi_bridge1_out: endpoint { + attach-bridge; + remote-endpoint = <&dsi84_in>; + }; + }; + }; +}; diff --git a/overlays/verdin-imx8mm_dsi-to-lvds_panel-cap-touch-10inch-lvds_overlay.dts b/overlays/verdin-imx8mm_dsi-to-lvds_panel-cap-touch-10inch-lvds_overlay.dts new file mode 100644 index 0000000..25e0daa --- /dev/null +++ b/overlays/verdin-imx8mm_dsi-to-lvds_panel-cap-touch-10inch-lvds_overlay.dts @@ -0,0 +1,44 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2022 Toradex + */ + +// Verdin DSI to LVDS Adapter with plugged in +// Capacitive Touch Display 10.1" LVDS orderable at Toradex. + +/dts-v1/; +/plugin/; + +&{/} { + compatible = "toradex,verdin-imx8mm"; +}; + +#include "verdin-imx8_mipi-dsi-to-sn65dsi84.dtsi" +#include "display-lt170410_sn65dsi84_overlay.dtsi" + +&atmel_mxt_ts { + status = "okay"; +}; + +&backlight { + status = "okay"; +}; + +/* Verdin I2C_2_DSI */ +&i2c2 { + status = "okay"; +}; + +/* Verdin I2C_1 */ +&i2c4 { + status = "okay"; +}; + +&lcdif { + status = "okay"; +}; + +/* Verdin PWM_3_DSI */ +&pwm1 { + status = "okay"; +}; |