Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4832

Compute Module • Re: Standard LCD 7 inches does not work fine on CM4 DSI0 connector

$
0
0
What is your no of DSI-lanes? DSI-1 is 4 lanes while DSI-0 is 2-lanes only on CM1/CM3/CM4.

I'm not convinced of your DT as what you've defined as a panel should be a bridge.
DSI-0 saw little testing/use on CM4 and had - at least in the past - some strange issues (don't know if that got fixed recently).

Do you want to use dual display or single display only? In case of single I recommend to make use of DSI-1.

Sorry, but can't commend on your panel initialization as I don't have a data sheet which explains how to configure the bridge via DSI.
I know it's not good to define bridge as panel. But for now I'm taking this ICN6211 as a panel and it works, I want to keep it as is until both DSI works, I can do some change to make them bridges after both DSI worked.

DSI1 is now a 2-lane display. DSI0 will connect an exact same display.

I need to use DSI1 and DSI0, my system(actually my customer's system, I'm the manufacture of the display) will have two identical displays, both use ICN6211 2 lane. I assume I don't need to change the drive file, I only need to change the overlay file, right? Or is there anything else I need to pay attention?
I'm now using below overlay to get DSI1 work, as there's no any GPIO or IIC connected, there's only DSI part needed:

Code:

/dts-v1/;/plugin/;/ {    compatible = "brcm,bcm2835";    fragment@0 {        target=<&dsi1>;        __overlay__ {            #address-cells = <1>;            #size-cells = <0>;            status = "okay";            power-domains = <&power 18>;            port {                dsi_out: endpoint {                    remote-endpoint = <&panel_in>;                };            };            dsi_panel: dsi_panel@0 {                reg = <0>;                compatible = "zettler,atm0700s6";                status = "okay";                port {                    panel_in: endpoint {                        remote-endpoint = <&dsi_out>;                    };                };            };        };    };};

I tried using waveshare's below overlay file and deleted touch panle part, but it doesn't work, neither DSI0 or DSI will work with this overlay:

Code:

/* * Device Tree overlay for Waveshare DSI Touchscreens * *//dts-v1/;/plugin/;/ {compatible = "brcm,bcm2835";dsi_frag: fragment@0 {target = <&dsi1>;__overlay__ {#address-cells = <1>;#size-cells = <0>;status = "okay";port {dsi_out: endpoint {remote-endpoint = <&panel_in>;};};};};fragment@1 {target-path = "/";__overlay__ {};};i2c_frag: fragment@2 {target = <&i2c_csi_dsi>;__overlay__ {#address-cells = <1>;#size-cells = <0>;status = "okay";panel: panel_disp1@45 {reg = <0x45>;compatible = "zettler,atm0700s6";port {panel_in: endpoint {remote-endpoint = <&dsi_out>;};};};};};__overrides__ {8_8_inch = <&panel>, "compatible=zettler,atm0700s6";dsi0 = <&dsi_frag>, "target:0=",<&dsi0>,       <&i2c_frag>, "target:0=",<&i2c_csi_dsi0>;};};
@6by9, do you think you can help to do some change on the DSI1 overlay to get DSI0 work together? I'm using exact same display on DSI1 and DSI0. THANKS~

Statistics: Posted by xiao_fengzi — Sat Dec 14, 2024 1:32 pm



Viewing all articles
Browse latest Browse all 4832

Trending Articles