How to remove USB Type C support for linux?

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

How to remove USB Type C support for linux?

902 Views
michael_glembot
Contributor IV

Hi,

we do not have USB Type C hardware support, so we do not need software support. Removing the driver and the related device tree entry ends in a non-bootable kernel. What changes have to be done to remove the USB Type C support?

Further infos:

- Custom Board based on imx8mn-ddr4-evk

Best,

Michael

Device Tree based on fsl-imx8mn-ddr4-evk.dts: If the part typec_ptn5110_1 is removed the kernel hangs during bootup.

Removed the following from the defconfig file.

CONFIG_TYPEC_TCPCI

CONFIG_TYPEC_TCPM

Removed these entries from device tree file

   

pinctrl_typec1: typec1grp {

    [..]

};

typec_ptn5110_1: ptn5110@50 {          [..]     };     typec_ptn5110_2: ptn5110@52 {         [..]     };

&usbotg1 {     [..] };

Labels (1)
0 Kudos
1 Reply

761 Views
b36401
NXP Employee
NXP Employee

We have no such examples. Sorry for the inconvenience.

0 Kudos