iMX6UL: How to change display refresh rate?

cancel
Showing results for 
Search instead for 
Did you mean: 

iMX6UL: How to change display refresh rate?

Jump to solution
780 Views
durmus
Contributor IV

Hi,

I would like to adjust the display refresh rate in my custom iMX6UL board based on EVK board.

Device tree entry for lcdif:

&lcdif {
 pinctrl-names = "default";
 pinctrl-0 = <&pinctrl_lcdif_dat
 &pinctrl_lcdif_ctrl>;
 display = <&display0>;
 status = "okay";

 display0: display {
 bits-per-pixel = <16>;
 bus-width = <24>;

 display-timings {
 native-mode = <&timing0>;
 timing0: timing0 {
 clock-frequency = <33300000>;
 hactive = <800>;
 vactive = <480>;
 hfront-porch = <8>;
 hback-porch = <4>;
 hsync-len = <41>;
 vback-porch = <2>;
 vfront-porch = <4>;
 vsync-len = <10>;
 };
 };
 };
};

For imx6qdl, there is a mode_str parameter in mxcfb entries where we can adjust refresh rate like mode_str ="800x480M@60";

I don't see any fb entry for imx6ul where I can specify mode_str. I don't even know what refresh rate I'm using now. Maybe 60Hz by default?

How can I change this value?

Thanks.

Labels (3)
0 Kudos
1 Solution
447 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi

you are right, linux/Documentation/devicetree/bindings/fb/mxsfb.txt

linux-2.6-imx.git - Freescale i.MX Linux Tree 

do not have mode_str parameter, so seems refresh rate could be

adjusted by clock-frequency parameter.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
1 Reply
448 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi

you are right, linux/Documentation/devicetree/bindings/fb/mxsfb.txt

linux-2.6-imx.git - Freescale i.MX Linux Tree 

do not have mode_str parameter, so seems refresh rate could be

adjusted by clock-frequency parameter.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos