USB power enable on i.MX93

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

USB power enable on i.MX93

936 次查看
dpog
Contributor V

On our custom i.MX93 board we are trying to implement an USB-OTG (DRD) port that is capable of switching the USB power (usb-pwr-en) via GPIO, as we cannot use the dedicated HSIOMIX_OTG_PWR1 pin.

Can someone hint us to the part in the driver (ci_hdrc_imx/usbmisc_imx/core/...) where this power-enable is handled?

Just for testing we used the ENET1_MDIO pin, and confirmed, that the power is switched on/off in relation to the ID-pin

标签 (1)
标记 (1)
0 项奖励
回复
1 回复

859 次查看
AldoG
NXP TechSupport
NXP TechSupport

Hello,

Unfortunately I do not know exactly at which part is this being handled in the driver as I would need to deeply inspect it, but is this really needed?

As far as I know the USB_OTG_PWR is used as an standard GPIO, so the specific pin does not have to be used, there are multiple device tree example for this as you can see here:

https://github.com/nxp-imx/linux-imx/blob/lf-6.6.y/arch/arm/boot/dts/nxp/imx/imx6q-gw5400-a.dts#L94

https://github.com/nxp-imx/linux-imx/blob/lf-6.6.y/arch/arm/boot/dts/nxp/imx/imx6q-gw5400-a.dts#L359

https://github.com/nxp-imx/linux-imx/blob/lf-6.6.y/arch/arm/boot/dts/nxp/imx/imx6q-gw5400-a.dts#L487

Best regards/Saludos,
Aldo.

0 项奖励
回复