完成 #278 » 0001-fix-otg-mode-cannot-be-switched-normally.patch
kernel-6.1/arch/arm64/boot/dts/rockchip/rp-usb3.0-otg0-typeA.dtsi | ||
---|---|---|
&usb_drd0_dwc3 {
|
||
status="okay";
|
||
dr_mode = "otg";
|
||
usb-role-switch;
|
||
extcon = <&u2phy0>;
|
||
// usb-role-switch; // This property is configurable only on Type-C interfaces.
|
||
};
|
||
&u2phy0_otg {
|
||
status = "okay";
|
||
rockchip,vbus-always-on;
|
||
};
|
||
&u2phy0 {
|
||
... | ... | |
&usbdp_phy_u3 {
|
||
status = "okay";
|
||
};
|
||
};
|