Hi, I’ve created a device tree overlay to replace my old entire device tree since BSP 5.x support overlays, however the data-mapping for lvds appears to not be working the same. In my old device tree I had fsl,data-width = <18>;
. Now in my device tree overlay I have the corresponding data-mapping according to your table here data-mapping = "jeida-18";
. Everything else timing wise is the exact same however the display has incorrect colors that looks to me like a data-mapping issue. The only new/different thing is width-mm
and height-mm
however I don’t believe having those incorrect would cause this issue, perhaps I’m wrong. Thanks.
Do you have a
fsl,data-mapping = “spwg”;
fsl,data-width = <18>;
at lvds-channel@0 node as descried here?
Is this something I would do in an Device tree overlay?
It was my understanding that data-mapping
within panel-lvds
was the equivalent, and made setting them within lvds-channel@0
not necessary.
I haven’t play with it but per my knowledge yo should have
&ldb2 {
status = "okay";
fsl,dual-channel;
lvds-channel@0 {
fsl,data-mapping = "spwg";
fsl,data-width = <18>;
and
panel_lvds: panel-lvds {
compatible = "panel-lvds";
data-mapping = "jeida-18";