From 86dc058b6825c85e9365f4b3f5f418cf054d277e Mon Sep 17 00:00:00 2001 From: Marcel Ziswiler Date: Thu, 25 Aug 2022 04:42:28 -0500 Subject: verdin-imx8mm: update sn65dsi84 lt170410 overlay for bsp 6 Signed-off-by: Marcel Ziswiler --- .../verdin-imx8mm_sn65dsi84-lt170410_overlay.dts | 71 ++++++++++++++-------- 1 file changed, 44 insertions(+), 27 deletions(-) diff --git a/overlays/verdin-imx8mm_sn65dsi84-lt170410_overlay.dts b/overlays/verdin-imx8mm_sn65dsi84-lt170410_overlay.dts index 2e01df5..3a5bbf6 100644 --- a/overlays/verdin-imx8mm_sn65dsi84-lt170410_overlay.dts +++ b/overlays/verdin-imx8mm_sn65dsi84-lt170410_overlay.dts @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0-or-later OR MIT /* - * Copyright 2020-2021 Toradex + * Copyright 2020-2022 Toradex */ // Verdin DSI to LVDS Adapter with connected LT170410 display (10 inch) with a @@ -13,32 +13,49 @@ compatible = "toradex,verdin-imx8mm"; }; -&lvds_ti_sn65dsi83 { - ti,dsi-lanes = <4>; - ti,height-mm = <136>; - ti,lvds-bpp = <24>; - ti,lvds-format = <2>; - ti,width-mm = <217>; - - display-timings { - native-mode = <&lvds_timing0>; - - lvds_timing0: lt170410_2whc { - /* - * Take the minimum pixelclock as 71.1 MHz is - * not working on NXP i.MX 8M Mini - */ - clock-frequency = <68900000>; - hactive = <1280 1280 1280>; - hfront-porch = <23 60 71>; - hback-porch = <23 60 71>; - hsync-len = <15 40 47>; - vactive = <800 800 800>; - vfront-porch = <5 7 10>; - vback-porch = <5 7 10>; - vsync-len = <6 9 12>; - de-active = <1>; - pixelclk-active = <0>; +&lvds_ti_sn65dsi84 { + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@2 { + reg = <2>; + + lvds_out_panel: endpoint { + remote-endpoint = <&panel_in_lvds>; + }; + }; + }; +}; + +&panel_lvds { + backlight = <&backlight>; + data-mapping = "vesa-24"; + height-mm = <136>; + width-mm = <217>; + status = "okay"; + + panel-timing { + /* + * Take the minimum pixelclock as 71.1 MHz is + * not working on NXP i.MX 8M Mini + */ + clock-frequency = <68900000>; + 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>; }; }; }; -- cgit v1.2.3