Hi NXP.
We are using imx8mplus of android13 in our project.And we used a lvds(800*480) screen.
I changed the dts and the file named panel-simple.c. The screen lights up, but only half showed,and the icons are compressed.
The below is my modified dts.
/ {
lvds0_panel {
compatible = "sitronix,st7265";
// backlight = <&lvds_backlight>;
port {
panel_lvds_in: endpoint {
remote-endpoint = <&lvds_out>;
};
};
};
};
&ldb {
status = "okay";
fsl,dual-channel;
lvds-channel@0 {
status = "okay";
fsl,data-mapping = "spwg";
fsl,data-width = <24>;
port@1 {
reg = <1>;
lvds_out: endpoint {
remote-endpoint = <&panel_lvds_in>;
};
};
};
};
One more question,when i delete 'fsl,dual-channel;',the screen cannot light up?
Please help us.
Thank.
@Canna Would you please help me to locate LCD driver source of "sitronix,st7265 ? I don't think it's a part of standard kernel ? Can u please upload the code ?
That is what I was looking for, what information, present here at this site! Panorama Charter
Adjust DTS settings, ensure correct panel specifications for proper LVDS display functionality.
Hal code config, /vendor/nxp-opensource/imx/display/display/KmsDisplay.cpp
DisplayMode gDisplayModes[16] = {
{"4kp60", 3840, 2160, 60},
{"4kp50", 3840, 2160, 50},
{"4kp30", 3840, 2160, 30},
{"1080p60", 1920, 1080, 60},
{"1080p50", 1920, 1080, 50},
{"1080p30", 1920, 1080, 30},
{"720p60", 1280, 720, 60},
{"720p50", 1280, 720, 50},
{"720p30", 1280, 720, 30},
{"480p60", 640, 480, 60},
{"480p50", 640, 480, 50},
{"480p30", 640, 480, 30},
{"4k", 3840, 2160, 60}, // default as 60fps
{"1080p", 1920, 1080, 60}, // default as 60fps
{"720p", 1280, 720, 60}, // default as 60fps
{"480p", 640, 480, 60}, // default as 60fps
};
For One more question,when i delete 'fsl,dual-channel;',the screen cannot light up?
-->This means the kernel porting steps may have some mistakes