STM32MP1 LTDC device tree for RGB display
Hello,
is there any example how to configure LTDC device tree entry for RGB display ?
Documentation is unclear on that, only MIPI mode is quite well documented.
Regards
Arkadiusz
Hello,
is there any example how to configure LTDC device tree entry for RGB display ?
Documentation is unclear on that, only MIPI mode is quite well documented.
Regards
Arkadiusz
On the boards DK1 and DK2 the LTDC output is connected to the HDMI transmitter sil sii9022
This is a first example of using LTDC, but not exactly what you want.
On board EV1 there is an empty connector for LTDC. I have used it to test some RGB LCD panels described in Linux driver panel-simple.c
These are the lines I have added at the end of stm32mp157c-ev1.dts
With the information in the datasheet of the panel is not difficult to add a new entry in panel-simple.c
/* disable DSI panel */
&dsi {
status = "disabled";
};
/* connect LTDC to the panel */
<dc {
port {
ltdc_ep1_out: endpoint@1 {
reg = <1>;
remote-endpoint = <&panel_rgb_in>;
};
};
};
/* simple-panel on LTDC */
/ {
panel-rgb@0 {
compatible = "ampire,am-480272h3tmqw-t01h", "simple-panel";
status = "okay";
pinctrl-names = "default", "sleep";
pinctrl-0 = <<dc_pins_b>;
pinctrl-1 = <<dc_pins_sleep_b>;
port {
panel_rgb_in: endpoint {
remote-endpoint = <<dc_ep1_out>;
};
};
};
};Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.