1 # SPDX-License-Identifier: GPL-2.0-only
3 # ST Microelectronics SPEAr PINCTRL drivers
13 This enables pin control drivers for SPEAr Platform
15 config PINCTRL_SPEAR3XX
17 depends on ARCH_SPEAR3XX
20 config PINCTRL_SPEAR300
21 bool "ST Microelectronics SPEAr300 SoC pin controller driver"
22 depends on MACH_SPEAR300
23 select PINCTRL_SPEAR3XX
25 config PINCTRL_SPEAR310
26 bool "ST Microelectronics SPEAr310 SoC pin controller driver"
27 depends on MACH_SPEAR310
28 select PINCTRL_SPEAR3XX
29 select PINCTRL_SPEAR_PLGPIO
31 config PINCTRL_SPEAR320
32 bool "ST Microelectronics SPEAr320 SoC pin controller driver"
33 depends on MACH_SPEAR320
34 select PINCTRL_SPEAR3XX
35 select PINCTRL_SPEAR_PLGPIO
37 config PINCTRL_SPEAR1310
38 bool "ST Microelectronics SPEAr1310 SoC pin controller driver"
39 depends on MACH_SPEAR1310
41 select PINCTRL_SPEAR_PLGPIO
43 config PINCTRL_SPEAR1340
44 bool "ST Microelectronics SPEAr1340 SoC pin controller driver"
45 depends on MACH_SPEAR1340
47 select PINCTRL_SPEAR_PLGPIO
49 config PINCTRL_SPEAR_PLGPIO
50 bool "SPEAr SoC PLGPIO Controller"
51 depends on GPIOLIB && PINCTRL_SPEAR
52 select GPIOLIB_IRQCHIP
54 Say yes here to support PLGPIO controller on ST Microelectronics SPEAr