imx8mplus android13 light up lvds screen(800*480)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx8mplus android13 light up lvds screen(800*480)

512 Views
Canna
Contributor I

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.

f3e6efd7-761d-4529-8b48-2a5532705d72.jpg

 

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.

 

0 Kudos
5 Replies

21 Views
mukund
Contributor I

@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 ? 

0 Kudos

236 Views
charterdude
Contributor I

That is what I was looking for, what information, present here at this site! Panorama Charter

0 Kudos

452 Views
MarkChapman
Contributor I

Adjust DTS settings, ensure correct panel specifications for proper LVDS display functionality.

Best Wishes paybyplateMA ehallpass
0 Kudos

487 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

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

0 Kudos

483 Views
Canna
Contributor I
when delete,the kernel no any mistake.In theory,the 'fsl,dual-channel;' is need or not?
0 Kudos