Omni3576-Type-C Host & DP
-
目前看到原理图介绍,typec接口是With Displayport Alt Mode,请问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.
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
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.
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
that means that I need build image from sources with SDK to make Display Port working? Please explain clearly.Luckfox Taylor wrote: ↑2025-03-04 3:33 kernel-6.1/arch/arm64/boot/dts/rockchip/luckfox-omni3576-display.dtsi
Last edited by Pavel_Zhovner on 2025-03-17 11:28, edited 1 time in total.
Founder of Flipper Devices
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:
https://wiki.luckfox.com/luckfox-Omni35 ... i3576-SDK/
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-SDKLuckfox Taylor wrote: ↑2025-03-19 8:02 The display-related components are located in the following path
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:
Inside the luckfox-omni3576-display.dtsi file I found the section related to USB-DP:kernel-6.1/arch/arm64/boot/dts/rockchip/luckfox-omni3576-display.dtsi
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";
};
Code: Select all
#address-cells = <1>;
#size-cells = <0>;
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.