AnsweredAssumed Answered

How to remove USB Type C support for linux?

Question asked by Michael Glembotzki on Mar 30, 2020
Latest reply on Apr 23, 2020 by Victor Linnik

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 {
    [..]
};

Outcomes