Move USB Type C Port 1 whole part from i.MX8M Plus evk to another debug board

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Move USB Type C Port 1 whole part from i.MX8M Plus evk to another debug board

299件の閲覧回数
Jimmychea
Contributor III

Main board : USB pins and I2C pins connected to connector

Debug board : Consists of whole part of USB Type C Port 1 from i.MX8M Plus evk, will connect to connector

If separate out the USB Type C Port 1 into debug board, it should disabled below configuration in uboot imx8mp_evk_defconfig

CONFIG_USB_TCPC
CONFIG_CMD_USB
CONFIG_CMD_USB_MASS_STORAGE
CONFIG_USB_FUNCTION_FASTBOOT
CONFIG_PHY_IMX8MQ_USB
CONFIG_USB
CONFIG_DM_USB
CONFIG_USB_XHCI_HCD
CONFIG_USB_XHCI_DWC3
CONFIG_USB_DWC3
CONFIG_USB_GADGET
CONFIG_USB_GADGET_MANUFACTURER
CONFIG_USB_GADGET_VENDOR_NUM
CONFIG_USB_GADGET_PRODUCT_NUM

and remove the USB setup code from line 132 to 418 in imx8mp_evk.c

Am i correct if do in this way ?

if above is correct, where should i put those setup for USB Type C Port 1? Thanks

ラベル(1)
0 件の賞賛
1 返信

245件の閲覧回数
brian14
NXP TechSupport
NXP TechSupport

Hi @Jimmychea,

Please accept my apologies for the delayed reply.

In this case, you will need to disable only the CONFIG_USB_TCPC this configuration is used to control the communication speed, flow data, voltage, current, and error detection specifically in USB type C (TCPC - USB Type-C Port Controller).
Other configurations you describe are related to drivers for the USB interface that we are not looking to disable.
Also, you will need to change the device tree by looking for the USB Type C Port 1 subnode in the USB Type C node and disable this port. Then you will need to rebuild the device tree with these changes.

I hope this information will be helpful.

Have a great day.
Best regards, Brian.

0 件の賞賛