blob: 04d93e602674c6f2489bba44c4febd4cc5628cf9 [file] [log] [blame]
Viresh Kumardeda8282012-03-28 22:27:07 +05301#
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
Viresh Kumar52130b62012-03-28 22:27:07 +053014config 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
Viresh Kumarf4f8e562012-10-27 15:21:38 +053028 select PINCTRL_SPEAR_PLGPIO
Viresh Kumar52130b62012-03-28 22:27:07 +053029
30config PINCTRL_SPEAR320
31 bool "ST Microelectronics SPEAr320 SoC pin controller driver"
32 depends on MACH_SPEAR320
33 select PINCTRL_SPEAR3XX
Viresh Kumarf4f8e562012-10-27 15:21:38 +053034 select PINCTRL_SPEAR_PLGPIO
Viresh Kumar52130b62012-03-28 22:27:07 +053035
Viresh Kumar85ed41a2012-03-28 22:27:07 +053036config PINCTRL_SPEAR1310
37 bool "ST Microelectronics SPEAr1310 SoC pin controller driver"
38 depends on MACH_SPEAR1310
39 select PINCTRL_SPEAR
Viresh Kumarf4f8e562012-10-27 15:21:38 +053040 select PINCTRL_SPEAR_PLGPIO
Viresh Kumar85ed41a2012-03-28 22:27:07 +053041
42config PINCTRL_SPEAR1340
43 bool "ST Microelectronics SPEAr1340 SoC pin controller driver"
44 depends on MACH_SPEAR1340
45 select PINCTRL_SPEAR
Viresh Kumarf4f8e562012-10-27 15:21:38 +053046 select PINCTRL_SPEAR_PLGPIO
Viresh Kumar85ed41a2012-03-28 22:27:07 +053047
Viresh Kumar604bb7d2012-10-27 15:21:37 +053048config PINCTRL_SPEAR_PLGPIO
49 bool "SPEAr SoC PLGPIO Controller"
50 depends on GPIOLIB && PINCTRL_SPEAR
51 help
52 Say yes here to support PLGPIO controller on ST Microelectronics SPEAr
53 SoCs.
54
Viresh Kumardeda8282012-03-28 22:27:07 +053055endif