2021-08-11 06:38 PM
Hello
I wrote the following code to activate the display.
The code below is written in kernel/stm32mp157a*.dts and u-boot/stm32mp157a*.dts.
panel_rgb: panel-rgb {
compatible = "panel-dpi";
label = "lcd";
power-supply = <&vdd_panel>;
status = "okay";
port{
panel_in_rgb: endpoint@0 {
remote-endpoint = <<dc_out_rgb>;
};
};
panel-timing {
clock-frequency = <63700000>;
hactive = <1280>;
vactive = <720>;
hfront-porch = <20>;
hback-porch = <20>;
hsync-len = <20>;
vback-porch = <24>;
vfront-porch = <24>;
vsync-len = <24>;
};
};
<dc{
pinctrl-names = "default", "sleep";
pinctrl-0 = <<dc_pins_mx>;
pinctrl-1 = <<dc_sleep_pins_mx>;
status = "okay";
/* USER CODE BEGIN ltdc */
port {
ltdc_out_rgb: endpoint@0 {
reg = <0>;
remote-endpoint = <&panel_in_rgb>;
};
};
/* USER CODE END ltdc */
};
As a result, the code worked, but only worked in the kernel and not in uboot. I could get help here but I don't know the difference. How to write ltdc in uboot
2024-05-28 01:27 AM - edited 2024-05-28 01:29 AM
Hello everyone. Is there any news regarding this question?
I have the same problem.
I can add that the LTDC driver in the probe returns:
stm32_ltdc_probe: LTDC hardware 0x0