Hi all,
I'm struggling understanding the management of LCD with LCDIF.
I inited lcdif with DTB as follows
&lcdif1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_lcdif_dat
&pinctrl_lcdif_ctrl>;
lcd-supply = <®_lcd_3v3>;
display = <&display0>;
status = "okay";
display0: display {
bits-per-pixel = <24>;
bus-width = <24>;
display-timings {
native-mode = <&timing0>;
timing0: timing0 {
clock-frequency = <6500000>;
hactive = <320>;
vactive = <240>;
hback-porch = <75>;
hfront-porch = <22>;z
vback-porch = <18>;
vfront-porch = <4>;
hsync-len = <10>;
vsync-len = <10>;
hsync-active = <0>;
vsync-active = <0>;
de-active = <0>;
pixelclk-active = <1>;
};
};
};
};
My display woks and display linux splash screen and I'm able to launch my Qt application.
My display controller is HX8238-D. It has spi serial line that is need to set some parameters.
Questions are:
Thank you in advance.
Hi LPs
1. if it works fine with default lcd parameters, seems it is not necessary
2. I believe it can be set in board init file
3. suggest to ask driver from lcd vendor
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------