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.
已解决! 转到解答。
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!
-----------------------------------------------------------------------------------------------------------------------
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!
-----------------------------------------------------------------------------------------------------------------------