Search code examples
linuxdevice-driver

Enable Pin Controll subsystem in kernel 4.14


I use and build a kernel 4.14 which is already running on a ARM processor. Now I would include the MCP23S08 driver (pinctrl-mcp23s08.c) For that, I use make menuconfig to enable the driver. Unfortunately, I could not find an entry for the Pin Control subsystem in which the driver should be.

For testing, I checked out the kernel 4.17 in which the entry Device Driver->Pin Controlls exist. According to the entry in LKDD I think something changed in the configuration method between kernel 4.14 and 4.15.

Does someone now, how to activate the Pin Control subsystem in kernel 4.14? Thank you for any hint!


Solution

  • Ok, I found a way to enable the Pin control subsystem:

    At least in that kernel version (4.14) the pin control subsystem is a machine configuration. I activated it in the /arch/arm/mach-*/Kconfig file. After that, the entry was shown in the kernel menuconfig.