In our custom carrier device tree file for BSP 2.8.6 for the LCD panel I have the following entry (which works perfectly):
&ldb {
status = "okay";
split-mode;
lvds-channel@0 {
reg = <0>;
fsl,data-mapping = "spwg"; /* "jeida"; */
fsl,data-width = <24>;
crtc = "ipu2-di1";
primary;
status = "okay";
display-timings {
native-mode = <&timing_01>;
timing_01: 1920x720 {
clock-frequency = <95000000>;
hactive = <1920>;
vactive = <720>;
hback-porch = <20>;
hfront-porch = <20>;
vback-porch = <10>;
vfront-porch = <10>;
hsync-len = <40>;
vsync-len = <20>;
hsync-active = <0>;
vsync-active = <0>;
pixelclk-active = <0>;
};
};
};
lvds-channel@1 {
//reg = <1>;
fsl,data-mapping = "spwg";
fsl,data-width = <18>;
crtc = "ipu2-di0";
status = "okay";
display-timings {
native-mode = <&timing_01x>;
timing_01x: 1920x720 {
clock-frequency = <95000000>;
hactive = <1920>;
vactive = <720>;
hback-porch = <20>;
hfront-porch = <20>;
vback-porch = <10>;
vfront-porch = <10>;
hsync-len = <40>;
vsync-len = <20>;
hsync-active = <0>;
vsync-active = <0>;
pixelclk-active = <0>;
};
};
};
};
I’m not sure exactly how to reinsert this into the BSP 3.0.4 “lcd_display” and “panel” structure in the new DTS file. (Clearly the 2.8.6 DTB doesn’t work very well with the 3.0.4 due to name changes)…
Does this just replace the “lcd_display” section and change the remote-endpoint entries? Does ipu2-di1 just change to ipu2_di1_disp1 or what?
If there’s a guide to this transition somewhere and I missed it, I apologize. I can figure the rest of the changes out but this one is elaborate.
Quick background: We have a custom carrier with a CD Tech / Data Modul 12.3in 1920x720 LCD (/dev/fb2) and an HDMI port (/dev/fb2).
Thanks.