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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

281 Views
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

Labels (1)
0 Kudos
1 Reply

227 Views
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 Kudos