Omni3576-Type-C Host & DP

  • DP模式定义在 kernel-6.1/arch/arm64/boot/dts/rockchip/luckfox-omni3576-display.dtsi 中定义,可以根据自己的需求自行修改。
  • Can you please explain how to make DP (Display Port) working on USB Type-C port?

    1. Which Omni3576 USB Type-C port is connected to the DP (Display Port) lines? Left or right?
    There is no information about this in the wiki. Please add this information to the wiki.
    SET-MA2SKROM-1dc54cb218a5666baf965d71cbf63dd1 (1).jpg


    2. What official Linux or Android image from your download page https://wiki.luckfox.com/Luckfox-Omni3576/Download has Display Port enabled by default? Or none of them? Which dtsi is used for the official images?

    You mention
    Luckfox Taylor wrote: 2025-03-04 3:33 kernel-6.1/arch/arm64/boot/dts/rockchip/luckfox-omni3576-display.dtsi
    that means that I need build image from sources with SDK to make Display Port working? Please explain clearly.
    Last edited by Pavel_Zhovner on 2025-03-17 11:28, edited 1 time in total.
    Founder of Flipper Devices
  • 3576-Type-C--display.png
  • Luckfox Taylor wrote: 2025-03-18 10:11
    Thank you for the image. Please add this image to the wiki for other users.

    Could you answer the second question?

    How to get a Linux/Android image with a working Display Port? If I need to build it from sources, could you please write an step by step how-to?
    Last edited by Pavel_Zhovner on 2025-03-18 13:25, edited 1 time in total.
    Founder of Flipper Devices
  • The Android source code is temporarily not publicly available. You can download the Linux SDK yourself and build the image file according to the documentation.
    https://wiki.luckfox.com/luckfox-Omni35 ... i3576-SDK/
    The display-related components are located in the following path:
    rk3576-DP-dtsi.png
  • Luckfox Taylor wrote: 2025-03-19 8:02 The display-related components are located in the following path
    Thanks for pointing that out. I managed to build the image from sources following this manual: https://wiki.luckfox.com/luckfox-Omni35 ... ni3576-SDK

    I successfully build the Debian image from SDK sources and flashed it to the board. I also found the dev tree file you pointed out:
    kernel-6.1/arch/arm64/boot/dts/rockchip/luckfox-omni3576-display.dtsi
    Inside the luckfox-omni3576-display.dtsi file I found the section related to USB-DP:

    Code: Select all

    /*********************************************************************
     *                                                                      *
     * USB-DP                                                               *
     *                                                                      *
     *********************************************************************/
    
    &usbdp_phy_dp {
            status = "okay";
    };
    &usbdp_phy_u3 {
            status = "okay";
    };
    &usbdp_phy {
            status = "okay";
            orientation-switch;
            svid = <0xff01>;
            sbu1-dc-gpios = <&gpio4 RK_PC4 GPIO_ACTIVE_HIGH>;
            sbu2-dc-gpios = <&gpio4 RK_PC5 GPIO_ACTIVE_HIGH>;
    
            port {
                    #address-cells = <1>;
                    #size-cells = <0>;
    
                    usbdp_phy_orientation_switch: endpoint@0 {
                            reg = <0>;
                            remote-endpoint = <&usbc0_orien_sw>;
                    };
                    usbdp_phy_dp_altmode_mux: endpoint@1 {
                            reg = <1>;
                            remote-endpoint = <&dp_altmode_mux>;
                    };
            };
    };
    
    
    &vp2 {
            assigned-clocks = <&cru DCLK_VP2_SRC>;
            assigned-clock-parents = <&cru PLL_VPLL>;
    };
    
    &dp {
            status = "okay";
    };
    
    &dp0 {
            status = "okay";
    };
    
    &dp0_in_vp2 {
            status = "okay";
    };
    
    &dp0_sound {
            status = "okay";
    };
    
    &route_dp0 {
            status = "okay";
            connect = <&vp2_out_dp0>;
    };
    
    &spdif_tx3{
            status = "okay";
    };
    
    But as I see Display Port is enabled here. What should I do to enable it? It's only two commented lines:

    Code: Select all

    #address-cells = <1>;
    #size-cells = <0>;
    
    After flashing my freshly builded Debian image, the Display Port over USB-C still doesn't work.

    What should I do to make it work?
    Last edited by Pavel_Zhovner on 2025-03-20 14:42, edited 1 time in total.
    Founder of Flipper Devices
  • By default, this mirror supports DP, so you don’t need to turn it on in the device tree; this test can display normally.
    2025-03-24-105937_1920x1080_scrot.png