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.

[参考译文] AM625:SDK10上的 LVDS 单通道显示屏

Guru**** 2473270 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1464687/am625-lvds-single-channel-display-on-sdk10

器件型号:AM625

工具与软件:

尊敬的 TI 团队:

在移植 SDK10时、我发现 LVDS 无法选择单链路显示模式。 如果是 LVDS 双链路面板、则工作正常。 我们的板在 SDK8上使用单链路。

面板只显示一半。 (10.1英寸 LVDS 面板1280x800)

如果我在器件树中将宽度加倍、它将全屏显示、但分辨率也将加倍。 (2560x800)

器件树叠加层:

&{/} {
	lvds_panel {
		#address-cells = <1>;
		#size-cells = <0>;
		compatible = "vxt,vl10112880", "panel-lvds";
		backlight = <&lvds_backlight>;
		power-supply = <&reg_lvds_pwr>;

		data-mapping = "vesa-24";
		height-mm = <135>;
		width-mm = <216>;

		panel-timing {
			clock-frequency = <68500000>;
			hactive = <1280>;
			vactive = <800>;
			hback-porch = <40>;
			hfront-porch = <40>;
			vback-porch = <10>;
			vfront-porch = <3>;
			hsync-len = <80>;
			vsync-len = <10>;
		};

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

&dss {
	pinctrl-names = "default";
	pinctrl-0 = <&main_oldi0_pins_default>;
	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>;
		};
	};
};

kmsprint:

# kmsprint
Connector 0 (40) LVDS-1 (connected)
  Encoder 0 (39) NONE
    Crtc 0 (38) 1280x800@57.80 68.500 1280/40/80/40/? 800/3/10/10/? 58 (57.80) 0x0 0x48
      Plane 0 (31) fb-id: 50 (crtcs: 0) 0,0 1280x800 -> 0,0 1280x800 (AR12 AB12 RA12 RG16 BG16 AR15 AB15 AR24 AB24 RA24 BA24 RG24 BG24 AR30 AB30 XR12 XB12 RX12 XR15 XB15 XR24 XB24 RX24 BX24 XR30 XB30 YUYV UYVY NV12)
        FB 50 1280x800

寄存器:

# devmem2 0x3020a160
/dev/mem opened.
Memory mapped at address 0xffffb7bdd000.
Read at address  0x3020A160 (0xffffb7bdd160): 0x000011A5

# devmem2 0x108700
/dev/mem opened.
Memory mapped at address 0xffff94b8c000.
Read at address  0x00108700 (0xffff94b8c700): 0x80000000

请帮帮我。

提前感谢您!

此致、

射线

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    上述日志是否包含 SDK10? 另外、您是否在10中看到了新的 DTS DSS 结构?

    此致、
    Krunal

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    有。  我在 SDK10上从 k3-am62x-sk-microtips-mf103hie-lcd2.dtso 修改了它。

    我的另一个面板是双链路、工作正常。

    此致、

    射线

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    我们正在对其进行内部调查、我们会在下周中旬与您联系。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    感谢您的更新。 请随时向我通报我的调查情况。

    此致、

    射线

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    我们刚刚 对其进行了测试、以下是我们的 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>;
            };
        };
    };
    

    显示正常、但请确保您未在 Uboot 中运行任何启动界面。 我必须 从/boot 分区删除 ti_logo_414x97_32bpp.bmp.gz 文件、否则我的映像不正确。

    此致、
    Krunal

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Krunal:

    感谢您确定导致此问题的 ti_logo_414x97_32bpp.bmp.gz 文件。 我很高兴删除它、解决了问题。

    此致、

    射线