IMX8X,Usb3.0 typec改成Usb3.0 typeA
- dr_mode 修改为host,
- 去掉typec_ptn5110就好了。、
3.上诉改完还有问题,去检查硬件。
-
dr_mode : indicates the working mode for
“fsl-usb2-dr” compatiblecontrollers. Can be “host”,
“peripheral”, or “otg”. Default to“host” if not defined for backward
compatibility.
Arch/arm64/boot/dts/freescale/fsl-imx8qxp-mek.dtsi:
&usbotg3 {
dr_mode =“peripheral”; // “otg”; 修改为peripheral
模式,可用于UUU 下载
// extcon = <&typec_ptn5110>; 去掉PTN5110
支持
status = “okay”;
};
typec_ptn5110: typec@50 {
…
status = “disabled”;
};