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.

[参考译文] SN65DSI84:SN65DSI84:带 Raspberry Pi CM4S + AUO P370IVN02.2–测试模式工作、但无视频输出

Guru**** 2513185 points
Other Parts Discussed in Thread: SN65DSI84

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

https://e2e.ti.com/support/interface-group/interface/f/interface-forum/1559890/sn65dsi84-sn65dsi84-with-raspberry-pi-cm4s-auo-p370ivn02-2-test-pattern-works-but-no-video-output

器件型号:SN65DSI84


工具/软件:

您好:

我正在使用 SN65DSI84 桥接芯片、通过 Raspberry Pi 计算模块 4S 驱动 AUO P370IVN02.2 面板。

奇怪的是:

在测试图形模式下、一切看起来都很好。 LVDS 时钟和数据线处于活动状态、面板显示内部图形。

但使用实际视频输入 (DSI) 时、只有 LVDS 时钟出来。 数据线保持非活动状态、即使我可以看到 DSI 时钟和数据位于输入端。

PLL 锁定正常。 我会附加我的 i2cdump  和 DTS 设置、以便能够准确地看到我正在使用的文件。

/dts-v1/;
/plugin/;
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/pinctrl/bcm2835.h>

/ {
    compatible = "brcm,bcm2835";

    /* PWM0 function */
    fragment@0 {
        target = <&gpio>;
        __overlay__ {
            pwm_pins: pwm_pins {
                brcm,pins = <18>;
                brcm,function = <BCM2835_FSEL_ALT5>; // PWM1_0
                brcm,pull = <0>;
            };
        };
    };

    fragment@1 {
        target = <&pwm>;
        __overlay__ {
            pinctrl-names = "default";
            pinctrl-0 = <&pwm_pins>;
            assigned-clock-rates = <50000000>;
            status = "okay";
        };
    };

    fragment@2 {
        target-path = "/";
        __overlay__ {
            backlight_lvds: backlight {
                compatible = "pwm-backlight";
                pwms = <&pwm 0 1000000 0>; // 1KHz
                brightness-levels = <0 1000>;
                num-interpolated-steps = <1000>;
                default-brightness-level = <400>;
                enable-gpios = <&gpio 39 GPIO_ACTIVE_HIGH>;
            };

            panel: panel {
                compatible = "panel-lvds";
                backlight = <&backlight_lvds>;
                label = "AUO:G156HAN";
                dual-link;
		
                width-mm = <904>;
                height-mm = <254>;
                data-mapping = "vesa-24";

                panel-timing {
                    clock-frequency = <45000000>;
                    hactive = <1920>;
                    hsync-len = <162>;
                    hfront-porch = <80>;
                    hback-porch = <80>;
                    vactive = <540>;
                    vsync-len = <15>;
                    vfront-porch = <15>;
                    vback-porch = <15>;
                };

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

                    port@0 {
                        reg = <0>;
                        dual-lvds-odd-pixels;
                        panel_in_a: endpoint {
                            remote-endpoint = <&bridge_out_a>;
                        };
                    };

                    port@1 {
                        reg = <1>;
                        dual-lvds-even-pixels;
                        panel_in_b: endpoint {
                            remote-endpoint = <&bridge_out_b>;
                        };
                    };
                };
            };
        };
    };

    fragment@3 {
        target = <&i2c0if>;
        __overlay__ {
            #address-cells = <1>;
            #size-cells = <0>;
            status = "okay";

            bridge@2c {
                compatible = "ti,sn65dsi84";
                reg = <0x2c>;
                vcc-supply = <&vcc_1v8>;
                enable-gpios = <&gpio 42 GPIO_ACTIVE_HIGH>;

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

                    port@0 {
                        reg = <0>;
                        bridge_in: endpoint {
                            remote-endpoint = <&dsi_out>;
                            data-lanes = <1 2 3 4>;
                        };
                    };

                    port@2 {
                        reg = <2>;
                        bridge_out_a: endpoint {
                            remote-endpoint = <&panel_in_a>;
                        };
                    };

                    port@3 {
                        reg = <3>;
                        bridge_out_b: endpoint {
                            remote-endpoint = <&panel_in_b>;
                        };
                    };
                };
            };
        };
    };

    fragment@4 {
        target = <&dsi1>;
        __overlay__ {
            #address-cells = <1>;
            #size-cells = <0>;
            status = "okay";

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

    fragment@5 {
        target = <&i2c0if>;
        __overlay__ {
            status = "okay";
        };
    };

    fragment@6 {
        target = <&i2c0mux>;
        __overlay__ {
            status = "disabled";
        };
    };

    fragment@7 {
        target-path = "/";
        __overlay__ {
            vcc_1v8: vcc_1v8 {
                compatible = "regulator-fixed";
                regulator-name = "vcc_1v8";
                regulator-min-microvolt = <1800000>;
                regulator-max-microvolt = <1800000>;
                regulator-always-on;
            };
        };
    };
};

 

No size specified (using byte-data access)
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
00: 35 38 49 53 44 20 20 20 01 00 83 28 00 01 00 00    58ISD   ?.?(.?..
10: 26 00 32 00 00 00 00 00 4c 05 03 00 00 00 00 00    &.2.....L??.....
20: 80 07 00 00 1c 02 00 00 21 00 00 00 2c 00 00 00    ??..??..!...,...
30: 05 00 00 00 94 00 0f 00 50 00 02 00 00 00 00 00    ?...?.?.P.?.....
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
f0: 00 00 00 00 40 00 00 80 00 00 00 00 00 00 00 00    ....@..?........

 

任何建议都会很有帮助。 非常感谢!

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

    您好:  

    由于美国公众假期、星期二将于 9 月 2 日恢复支持。 感谢您的耐心。  

    此致、  

    Logan

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

    尊敬的安晋洙:

    根据 DSI 输入视频、 器件是否使用 DSI 调谐器工具中的初始化寄存器设置进行编程?  

    数据表“7.4.3 初始化序列“包含有关启动上电和编程序列的详细信息。 请检查是否执行了这些步骤、包括 DSI CLK 和数据通道状态的步骤:

    “通电并保持稳定后、DSI CLK 通道必须处于 HS 状态、并且 DSI 数据通道必须驱动至 LP11 状态“

    LVDS 时钟输出频率是否与预期的频率相同、并且与测试图形模式的频率相匹配?

    此致、
    Ikram