Changing resoluiton from 720p ti 1080p for i.Mx8QXP MEK

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

Changing resoluiton from 720p ti 1080p for i.Mx8QXP MEK

1,514 Views
kailas_kharse
Contributor IV

Hello,

I am using i.Mx8QXP MEK board, I wanted to change the resolution of the display connected via LVDS0 using LVDS to HDMI adapter.

I am using " imx_5.4.24_2.1.0" Linux Version. Can you please tell me what are changes required to change the resolution from 720p to 1080p?

I am able to change the resolution in U-boot but I am not getting any clue how can I change it in Kernel.

I have also tired modified the "imx8x-mek-jdi-wuxga-lvds0-panel.dtsi" file with below changes.

Spoiler
fsl,data-mapping = "spwg";
fsl,data-width = <24>;

+ display-timings {
+ native-mode = <&timing0>;
+
+ timing0: timing0 {
+ clock-frequency = <74250000>;
+ hactive = <1920>;
+ vactive = <1080>;
+ hfront-porch = <220>;
+ hback-porch = <110>;
+ hsync-len = <40>;
+ vback-porch = <5>;
+ vfront-porch = <20>;
+ vsync-len = <5>;
+ };
+ };
+
port@1 {
reg = <1>;

Using above changes I am not able to change the resolution to 1080p.

Can you please point me to the exact file or exact change I need to follow?

 

Thanks & Regards,

Kailas K.

0 Kudos
6 Replies

1,461 Views
kailas_kharse
Contributor IV

Hello Igor,

Gentle Reminder for the above query.

 

Thanks & Regards,

Kailas K.

0 Kudos

1,506 Views
igorpadykov
NXP Employee
NXP Employee

Hi Kailas

 

for such purpose seems it is necessary to add lcd panel info, as in jdi wuxga

fsl-imx8qxp-mek-jdi-wuxga-lvds0-panel.dts example:

compatible = "jdi,tx26d202vm0bwa

 

1.jpg

https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/gpu/drm/panel/panel-simple.c?h=imx...

https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/gpu/drm/panel?h=imx_5.4.47_2.2.0

 

Best regards
igor

0 Kudos

1,501 Views
kailas_kharse
Contributor IV

Hello Igor,

 

I am not using any particular Display Panel, I am using IMX-LVDS-HDMI converter which is connected to either HDMI monitor or HDMI TV. So I need to configure the the LVDS-HDMI uses IT6263 Drivers, but I am not finding any such configuration to change the resolution in kernel from 720p to 1080p.

Can you please tell for the LVDS to HDMI converter what are the changes expected.

 

Thanks & Regards,

Kailas K.

0 Kudos

1,493 Views
igorpadykov
NXP Employee
NXP Employee

>I am not using any particular Display Panel, I am using IMX-LVDS-HDMI converter

 

I am afraid it is not possible as IT6263 requres connection to panel and reads its

capability in driver function it6263_read_edid()
https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/gpu/drm/bridge/it6263.c?h=imx_5.4....

 

Best regards
igor

0 Kudos

1,487 Views
kailas_kharse
Contributor IV

Hello Igor,

I am able to change the resolution to 1080p in U-boot by just making minor changes in DTS file as below.

File: arch/arm/dts/fsl-imx8qxp-mek.dts

Working Changes in U-Boot:
&ldb1 {
     status = "okay";

     lvds-channel@0 {
     fsl,data-mapping = "jeida";
     fsl,data-width = <24>;
     status = "okay";

     display-timings {
     native-mode = <&timing0>;

     timing0: timing0 {
     clock-frequency = <74250000>;
-     hactive = <1280>;
-     vactive = <720>;
+    hactive = <1920>;
+    vactive = <1080>;
     hfront-porch = <220>;
     hback-porch = <110>;
     hsync-len = <40>;
     vback-porch = <5>;
     vfront-porch = <20>;
     vsync-len = <5>;
    };
};

I have made few changes in Kernel which was mentioned in previous messages, but that did not work.

I guess there should be similar minor changes that need to do in Kernel, I am not sure and not able to figure it out where and what are the changes required in the kernel with respect to the above changes in u-boot, can you please help me in figure it out the changes required in kernel?

 

Thanks & Regards,

Kailas K.

0 Kudos

1,454 Views
igorpadykov
NXP Employee
NXP Employee

Hi Kailas

 

I believe one can try to add changes in panel-simple.c.

 

Best regards
igor

0 Kudos