xref: /openbmc/linux/drivers/pinctrl/spear/Kconfig (revision ba61bb17)
1#
2# ST Microelectronics SPEAr PINCTRL drivers
3#
4
5if PLAT_SPEAR
6
7config PINCTRL_SPEAR
8	bool
9	depends on OF
10	select PINMUX
11	help
12	  This enables pin control drivers for SPEAr Platform
13
14config PINCTRL_SPEAR3XX
15	bool
16	depends on ARCH_SPEAR3XX
17	select PINCTRL_SPEAR
18
19config PINCTRL_SPEAR300
20	bool "ST Microelectronics SPEAr300 SoC pin controller driver"
21	depends on MACH_SPEAR300
22	select PINCTRL_SPEAR3XX
23
24config PINCTRL_SPEAR310
25	bool "ST Microelectronics SPEAr310 SoC pin controller driver"
26	depends on MACH_SPEAR310
27	select PINCTRL_SPEAR3XX
28	select PINCTRL_SPEAR_PLGPIO
29
30config PINCTRL_SPEAR320
31	bool "ST Microelectronics SPEAr320 SoC pin controller driver"
32	depends on MACH_SPEAR320
33	select PINCTRL_SPEAR3XX
34	select PINCTRL_SPEAR_PLGPIO
35
36config PINCTRL_SPEAR1310
37	bool "ST Microelectronics SPEAr1310 SoC pin controller driver"
38	depends on MACH_SPEAR1310
39	select PINCTRL_SPEAR
40	select PINCTRL_SPEAR_PLGPIO
41
42config PINCTRL_SPEAR1340
43	bool "ST Microelectronics SPEAr1340 SoC pin controller driver"
44	depends on MACH_SPEAR1340
45	select PINCTRL_SPEAR
46	select PINCTRL_SPEAR_PLGPIO
47
48config PINCTRL_SPEAR_PLGPIO
49	bool "SPEAr SoC PLGPIO Controller"
50	depends on GPIOLIB && PINCTRL_SPEAR
51	select GPIOLIB_IRQCHIP
52	help
53	  Say yes here to support PLGPIO controller on ST Microelectronics SPEAr
54	  SoCs.
55
56endif
57