From 779a45331fe36f26e838eec13de6673626bd854b Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Tue, 6 Apr 2021 18:23:03 +0200 Subject: overlays: apalis-imx6: fix lvds The lt170410 panel uses single channel LVDS with 24bit color depth and spwg color mapping. Set the IPU's DI output to provide 24 bit color depth signals as the LDB inputs need the same color depth at its input as it has to provide at its LVDS output. Set the LVDS data-width and color mapping explicitly in the overlay. Related-to: ELB-3930 Signed-off-by: Max Krummenacher --- overlays/apalis-imx6_lvds-lt170410_overlay.dts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/overlays/apalis-imx6_lvds-lt170410_overlay.dts b/overlays/apalis-imx6_lvds-lt170410_overlay.dts index 7c64608..cb1bd9a 100644 --- a/overlays/apalis-imx6_lvds-lt170410_overlay.dts +++ b/overlays/apalis-imx6_lvds-lt170410_overlay.dts @@ -20,7 +20,8 @@ status = "okay"; lvds-channel@0 { - fsl,data-width = <18>; + fsl,data-mapping = "spwg"; /* jeida | spwg */ + fsl,data-width = <24>; status = "okay"; display-timings { @@ -30,5 +31,7 @@ }; &mxcfb1 { + /* the pixel format between the IPU's DI and LDB */ + interface_pix_fmt = "RGB24"; status = "okay"; }; -- cgit v1.2.3