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.

Linux/AM5728: OSD070T2649-19TS LCD Porting

Part Number: AM5728

Tool/software: Linux

Hi,

I m using yocto processor-sdk-04.02.00.09 version. In EVM OSD070T1718 LCD is used.

In custom board we are using OSD070T2649-19TS LCD. I cannot find any related driver for this chipset in SDK.

Can you please provide the porting guidance for this LCD ?

  • Hi,

    There is no separate driver as there are no ICs that need programming. Please check drivers\gpu\drm\omapdrm\displays\panel-dpi.c file and the dts file configurations.

    Regards,
    Manisha

  • Hi Manish,

    Thanks for the reply.

    I have enabled the default driver panel-dpi and its getting probed.

    With the below dts configuration, Backlight of the LCD is enabled in my device.


            aliases {
                    display0 = &lcd;
                    display1 = &hdmi0;
            };

            lcd: display {
                    compatible = "osddisplays,osd070t2649-19ts", "panel-dpi";

                    label = "lcd";

                    backlight = <&lcd_bl>;

                    enable-gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>;

                    panel-timing {

                            clock-frequency = <33000000>;
                            hactive = <800>;
                            vactive = <480>;
                            hfront-porch = <210>;
                            hback-porch = <16>;
                            hsync-len = <30>;
                            vback-porch = <10>;
                            vfront-porch = <22>;
                            vsync-len = <13>;
                            hsync-active = <0>;
                            vsync-active = <0>;
                            de-active = <1>;
                            pixelclk-active = <1>;

                    };

                    port {
                            lcd_in: endpoint {
                                    remote-endpoint = <&dpi_out>;
                            };
                    };
            };

            vmmcwl_fixed: fixedregulator-mmcwl {
                    compatible = "regulator-fixed";
                    regulator-name = "vmmcwl_fixed";
                    regulator-min-microvolt = <1800000>;
                    regulator-max-microvolt = <1800000>;
                    gpio = <&gpio5 8 GPIO_ACTIVE_HIGH>;
                    enable-active-high;
            };
    };

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

                    port {
                            reg = <0>;

                            dpi_out: endpoint {
                                    remote-endpoint = <&lcd_in>;
                                    data-lines = <24>;
                            };
                    };
            };
    };

    &epwmss1 {
            status = "okay";
    };

    &ehrpwm1 {
            status = "okay";
    };

    But I can see only brightness in screen. I didnt get the boot logo and login prompt detail in lcd.

    Below mentioned the fbset command details.

    root@am57xx-evm:~# fbset  

    mode "800x480-0"
            # D: 0.000 MHz, H: 0.000 kHz, V: 0.000 Hz
            geometry 800 480 800 480 32
            timings 0 0 0 0 0 0 0
            accel true
            rgba 8/16,8/8,8/0,0/0
    endmode

    root@am57xx-evm:~#

    In this, LCD mode has configured perfectly, But clock frequency and timing sections are ZEROs.

    I can able to control the framebuffer console blanks using this command

    root@am57xx-evm:/# echo 0 > ./sys/class/graphics/fb0/blank   //enabling                                                                                                                                                        
    root@am57xx-evm:/#
    root@am57xx-evm:/# echo 1 > ./sys/class/graphics/fb0/blank  //disbling

    I tried dumping image into framebuffer. cat 800*400.jpg > /dev/fb0

    But no effect in LCD.

    Please provide me the feedback.

  • Adding Data sheet timing information

  • waiting for the reply.
  • Hi,

    Our DSS driver don't use fbdev but drm. The fb layer with DRM is just a thin emulation, so it doesn't print any timing information. Please try kmstest.

    Please check if your panel needs GPIO enable, or  anything such.

    I will recommend you to probe the VOUTs pins and LCD panel input pins signals and see which one is creating problem.

    Regards,

    Manisha

  • Hi Manisha,

    Thanks for the reply. Below is the result of kmstest

    root@am57xx-evm:~# kmstest

    trying to open device 'i915'...failed

    trying to open device 'radeon'...failed

    trying to open device 'nouveau'...failed

    trying to open device 'vmwgfx'...failed

    trying to open device 'omapdrm'...done

    main: All ok!

    root@am57xx-evm:~#

    root@am57xx-evm:~#

    Is it initialized properly ?

  • You should expect to see something on below line as a part of kmstest

    root@am57xx-evm:~# kmstest
    Connector 0/@35: HDMI-A-1
    Crtc 0/@39 (plane 0/@36): 1920x1080 148.500 1920/88/44/148 1080/4/5/36 60 (60.00) 0x5 0x48
    Fb 55 1920x1080-XR24

    Did you probe the signals as I asked in previous post?

  • Hi Manisha,

    PMIC of my board has got damaged. Sorry for the late reply.

    I have verified my LCD power supply unit. All the VGH, VGL, AVDD, VDD is fine according to design.


    Can you please tell me the PCLK frequency according to the EVM design. Let me check the PCLK and update you.

    I m using zImage-am57xx-evm.dtb renamed to am57xx-beagle-x15.dtb since my board defaultly accessing beagle-x15.

    CPU  : DRA752-GP ES2.0
    Model: TI AM5728 IDK
    Board: UNKNOWN(BeagleBoard X15?) REV UNKNOWN

    There are some lcd related dtb files too. May i know the EVM specific dtb file ?

  • Karthikeyan R said:

    I m using zImage-am57xx-evm.dtb renamed to am57xx-beagle-x15.dtb since my board defaultly accessing beagle-x15.

    CPU  : DRA752-GP ES2.0
    Model: TI AM5728 IDK
    Board: UNKNOWN(BeagleBoard X15?) REV UNKNOWN

    I am little lost with your hardware and software setup in above comment. Which EVM are you using from TI? The beagle-X15 board is not supported by processor SDK Linux.  The software version you mentioned is Processor-sdk-04.02.00.09. That's a year old  old version. I will recommend you to move to latest version of the software.

    Regards,

    Manisha

  • Hi manisha,
    Thanks for the reply.
    Please suggest me the latest Linux version with lcd support.
    Please share the branch details.
  • Hi Karthikeyan,

    Please check this link for your question related to latest Linux version and branch details -

    Regards,

    Manisha