iMX6UL: How to change display refresh rate?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

iMX6UL: How to change display refresh rate?

跳至解决方案
2,255 次查看
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.

标签 (3)
0 项奖励
回复
1 解答
1,922 次查看
igorpadykov
NXP Employee
NXP Employee

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 项奖励
回复
1 回复
1,923 次查看
igorpadykov
NXP Employee
NXP Employee

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 项奖励
回复