Omni3576-Type-C Host & DP
Posted: 2025-03-04 2:13
目前看到原理图介绍,typec接口是With Displayport Alt Mode,请问Host功能和DP功能是需要软件上做切换吗?
A short text to describe your forum
http://forums.luckfox.com/
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
Thank you for the image. Please add this image to the wiki for other users.
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
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>;