Hello Matthias,
I think yes, with this modifications in my .dts file:
- I deleted usbc-det node;
- I changed extcon_usbc_det node;
- I set usbotg1 as host, deleting also extcon;
- I change sodim 137 function.
/ {
/delete-node/usbc-det; // usbc-det
};
&extcon_usbc_det {
compatible = "linux,extcon-usb-gpio";
debounce = <25>;
id-gpio = < >;
pinctrl-names = "default";
};
&usbotg1 {
dr_mode = "host";
/delete-property/ extcon;
};
&iomuxc {
imx6ull-colibri {
pinctrl_gpio1: gpio1-grp {
fsl,pins = <
MX6UL_PAD_SNVS_TAMPER2__GPIO5_IO02 0x3038 /* SODIMM 137 */ /*100kOhm pulldown */
>;
};
};
};
That way I am able to use USBC line as host to read a usb-key without needing an id-detection pin (which is normally sodimm137).