Hi,
My system ls1021a has TYPE C connector and CC controller PTN5150 and a MUX, I would like to know how to add this module (PTN5150) into my Linux so that I can configure the settings of this chip through I2C from Linux.
Linux kernel 4.19
Debian
LSDK1906
Please refer to [v3] extcon: Add support for ptn5150 extcon driver - Patchwork
Hi Yiping Wang,
I could not find things like this in my menu config :
Would you be able to provide more instructions on how to patch this driver?
Please add the following in drivers/extcon/Kconfig manually.
config EXTCON_PTN5150
tristate "NXP PTN5150 CC LOGIC USB EXTCON support"
depends on I2C
select REGMAP_I2C
help
Say Y here to enable support for USB peripheral and USB host
detection by NXP PTN5150 CC (Configuration Channel) logic chip
can you tell me where is the drivers/extcon/ located?
I could not even find this directory in my linux build folder
also after I am done, how to use this driver from my device side ?
Please go to LSDK Linux Kernel source code folder packages/linux/linux/.
Do I need to add anything into the Makefile as well for the object file of this driver compilation ?