Sorry, forgot to mention. My DT settings are:

    vga {
        compatible = "vga-connector";
        status = "okay";
        port {
            vga_con_in: endpoint {
                remote-endpoint = <&vga_bridge_out>;
            };
        };
    };

    bridge {
        compatible = "dumb-vga-dac";
        status = "okay";
        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@0 {
                reg = <0>;

                vga_bridge_in: endpoint {
                    remote-endpoint = <&tcon0_out_vga>;
                };
            };

            port@1 {
                reg = <1>;

                vga_bridge_out: endpoint {
                    remote-endpoint = <&vga_con_in>;
                };
            };
        };
    };


and in ports of tcon0:

                tcon0_out: port@1 {
                    #address-cells = <1>;
                    #size-cells = <0>;
                    reg = <1>;
                    tcon0_out_hdmi: endpoint@1 {
                        reg = <1>;
                        remote-endpoint = <&hdmi_p0_ep0>;//<0x12>;
                        allwinner,tcon-channel = <1>;
                    };

                    tcon0_out_vga: endpoint@0 {
                        reg = <0>;
                        remote-endpoint = <&vga_bridge_in>;
                    };

                    tcon0_out_tve0: endpoint@2 {
                        reg = <2>;
                        remote-endpoint = <&tve0_in_tcon0>;
                        allwinner,tcon-channel = <0>;
                    };
                };
On Friday, 29 April 2022 at 12:53:07 UTC+3 Daft Soft wrote:

> Hi, All!
> I've spent a lot of time trying to bring VGA output on A20 up. But no luck 
> at all.
> I've managed to configure U-Boot to output to VGA by just enabling hidden 
> line in .config.
> I know this should be somehow "routed" through Allwinner's DE, BE, FE, 
> TCON, connectors, bridges, panels...
> Could someone please help or give some hints on how to configure DT? I 
> have a lot of mess there around display engine, tcons, front ends and etc 
> in my DT and I'm out of ideas at the moment.
>
> My kernel is 5.2.21. Ask for any additional information.
> At the moment I have:
> [drm] Initialized lima 1.0.0 20190217 for 1c40000.gpu on minor 0
> sun4i-drm display-engine: bound 1e00000.display-frontend (ops 0xc085dc28) 
> sun4i-drm display-engine: bound 1e20000.display-frontend (ops 0xc085dc28) 
> sun4i-drm display-engine: bound 1e60000.display-backend (ops 0xc085d2ec) 
> sun4i-drm display-engine: bound 1e40000.display-backend (ops 0xc085d2ec) 
> sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc085c014) 
> sun4i-drm display-engine: No panel or bridge found... RGB output disabled 
> sun4i-drm display-engine: bound 1c0d000.lcd-controller (ops 0xc085c014) 
> sun4i-drm display-engine: bound 1c16000.hdmi (ops 0xc085e140) 
> sun4i-drm display-engine: bound 1c0a000.tv-encoder (ops 0xc085cbac)
> [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
> [drm] No driver support for vblank timestamp query.
> [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 1
> sun4i-drm display-engine: fb0: sun4i-drmdrmfb frame buffer device
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/linux-sunxi/4cd7a5bd-6ab6-41f0-81c6-4f5c9297e53cn%40googlegroups.com.

Reply via email to