diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2021-04-06 18:23:03 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2021-04-06 18:38:54 +0200 |
commit | 779a45331fe36f26e838eec13de6673626bd854b (patch) | |
tree | c34377295efa67f2a0f43315d01381e4e12b8d15 | |
parent | 2cf998f267656cea1ac04a103f0a0eb70de75c88 (diff) |
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 <max.krummenacher@toradex.com>
-rw-r--r-- | overlays/apalis-imx6_lvds-lt170410_overlay.dts | 5 |
1 files changed, 4 insertions, 1 deletions
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"; }; |