AM625: Single channel LVDS/OLDI panel display change in SDK 10.1

Part Number: AM625

Tool/software:

Dear Sir, 

Customer did use Single channel LVDS panel and it can display normally in SDK 9.0. 

In SDK 10.1, it creates new node for OLDI0 and OLDI1 and customer modify the dtso with same panel parameters works in SDK9.  

lvds_panel.dtso

Now the panel can see the desktop be displayed out but it become 4 desktops in one display. 

It should not be problem in Weston because customer try to use Modetest and the result is same. 

It looks panel timing has no problem but the data in Frame Buffer are not rendered correctly. 

Could you review the dtso and advise which part need to be modified accordingly? 

BR, Rich

  • Hi Rich,

    Could you please ask the customer to edit the following:

    		port@0 {
    			lcd_in0: endpoint {
    				remote-endpoint = <&oldi_0_out>;
    			};
    		};
    		
    		port {
    			lcd_in0: endpoint {
    				remote-endpoint = <&oldi_0_out>;
    			};
    		};

    Could they remove the following?

    	oldi-txes {
    		/delete-node/ oldi1 ;
    	};

    Also, after the above changes, could they share kmsprint logs and how do prints differ from 9.x release?

    Regards,
    Krunal

  • Krunal, 

    Please find the update from customer after making changes.

    The result looks same with Weston. 

    SDK9.0

    sdk0900_lvds_panel.dtso

    SDK 10.1

    sdk1001_lvds_panel.dtso

    BR, Rich

  • Krunal, 

    Any suggestion on the DTS? Any improper setting? 

    BR, Rich

  • Hi,

    We are looking into it internally and will get back to you by mid next week.

  • Hi,

    We just tested it and here is our DTS:

    // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
    /**
     * Microtips integrated OLDI panel (MF-101HIEBCAF0) and touch DT overlay for AM625 - SK
     *
     * Copyright (C) 2024 Texas Instruments Incorporated - http://www.ti.com/
     */
    
    /dts-v1/;
    /plugin/;
    
    #include <dt-bindings/gpio/gpio.h>
    #include <dt-bindings/interrupt-controller/irq.h>
    
    #include "k3-pinctrl.h"
    
    &{/} {
        display {
            compatible = "rocktech,rk101ii01d-ct", "panel-simple";
            /*
            * Note that the OLDI TX 0 transmits the odd set of pixels
            * while the OLDI TX 1 transmits the even set. This is a
            * fixed configuration in the IP integration and is not
            * changeable. The properties, "dual-lvds-odd-pixels" and
            * "dual-lvds-even-pixels" have been used to merely
            * identify if a Dual Link configuration is required.
            * Swapping them will cause an error in the dss oldi driver.
            */
            ports {
                #address-cells = <1>;
                #size-cells = <0>;
    
                port@0 {
                    reg = <0>;
                    dual-lvds-odd-pixels;
                    lcd_in0: endpoint {
                        remote-endpoint = <&oldi_0_out>;
                    };
                };
            };
        };
    };
    
    &dss {
        status = "okay";
    };
    
    &oldi0 {
        status = "okay";
    };
    
    &oldi0_ports {
        #address-cells = <1>;
        #size-cells = <0>;
    
        port@0 {
            reg = <0>;
            oldi_0_in: endpoint {
                remote-endpoint = <&dpi0_out0>;
            };
        };
    
        port@1 {
            reg = <1>;
            oldi_0_out: endpoint {
                remote-endpoint = <&lcd_in0>;
            };
        };
    };
    
    &dss_ports {
        #address-cells = <1>;
        #size-cells = <0>;
    
        /* VP1: Output to OLDI */
        port@0 {
            reg = <0>;
            #address-cells = <1>;
            #size-cells = <0>;
    
            dpi0_out0: endpoint@0 {
                reg = <0>;
                remote-endpoint = <&oldi_0_in>;
            };
        };
    };
    

    The display works fine but please make sure you are not running any splash in Uboot. I had to remove the ti_logo_414x97_32bpp.bmp.gz file from the /boot partition otherwise my image was not correct.

    Regards,
    Krunal

  • Krunal, 

    Customer didn't do any change but remove the ti_logo_414x97_32bpp.bmp.gz file from /boot partition then it can display normally. 

    No splash and no penguin log during booting but LVDS output on panel back to normal. 

    It seems the splash setting affect display and we will leave to team to investigate.

    Thanks for confirming this and providing guides.  

    BR, Rich