This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Display port settings in AM5728 based board

Other Parts Discussed in Thread: AM5728

Hi All

We are working on a custom board based on AM5728. We are using Processor SDK ti-processor-sdk-linux-am57xx-evm-02.00.02.11.

We have connected 1 lcd on LCD3 port of AM5728. We are planning to use panel-dpi driver to enable that LCD port. In EVM LCD is connected to LCD1 port while our LCD is connected to LCD3 port. What changes need to be done in device tree/kernel to enable that port. I have already done the pin-muxing for LCD3 port in u-boot code.

Kindly guide us.

Regards

Raj

  • Hi,

    I will ask the software team to comment.
  • Hi Raj,

    You could adopt the approach provided in ам57xx-evm-common.dtsi:

      lcd0: display {

               compatible = "osddisplays,osd070t1718-19ts", "panel-dpi";                 //this should be changed according to the driver you use

               label = "lcd";

               enable-gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>;     //this should match your hw

               panel-timing {

                   <your custom display timings here>

               };

               port {

                         lcd_in: endpoint {

                                   remote-endpoint = <&dpi_out>;

                          };

               };

    };

    &dss {

           ports {

                   #address-cells = <1>;

                   #size-cells = <0>;

                   port {                                                     //it is also acceptable to use port@3 see Documentation/devicetree/bindings/video/ti,omap-dss.txt

                                reg = <3>;                                //this should correspond to port 3

                                dpi_out: endpoint {

                                          remote-endpoint = <&lcd_in>;

                                          data-lines = <24>;

                                };

                     };

          };

    };

    Hope this helps. 


    Best Regards, 

    Yordan