Skip to main content
Graduate
April 15, 2025
Question

waveshare display interfacing with stm32mp157c

  • April 15, 2025
  • 0 replies
  • 491 views

I have a custom yocto project based on stm32mp157c. I have developed the bootloader and linux kernel.I have display functionalty and display is working perfectly. But now I am changing the display, because the display will be discontinued. The device tree setup for the display is:

&dsi {
 #address-cells = <1>;
 #size-cells = <0>;
 status = "okay";

 ports {
 #address-cells = <1>;
 #size-cells = <0>;

 port@0 {
 reg = <0>;
 dsi_in: endpoint {
 remote-endpoint = <&ltdc_out_dsi>;
 };
 };

 port@1 {
 reg = <1>;
 dsi_out: endpoint {
 remote-endpoint = <&dsi_panel_in>;
 };
 };
 };

 panel-dsi@0 {
 compatible = "orisetech,otm8009a";
 reg = <0>;
 rotation = <0>;
 address_mode = <0>;
 power-supply = <&v3v3>;
 status = "okay";

 port {
 dsi_panel_in: endpoint {
 remote-endpoint = <&dsi_out>;
 };
 };
 };
};


This configuration is working perfectly fine. As this display will be discontinued, we decided for waveshare 5 inch display, which is widely used for raspberry pi. But this display compatible parameter is not in the linux kernel. Currently I am using Linux kernel version 5.4.

I have following display:
https://www.waveshare.com/wiki/5inch_DSI_LCD 

Can anyone help me to interface display, what should be the compatible parameter and which driver I need to add for this display support. Thanks in advance.

    This topic has been closed for replies.