Viresh Kumar | deda828 | 2012-03-28 22:27:07 +0530 | [diff] [blame] | 1 | # |
| 2 | # ST Microelectronics SPEAr PINCTRL drivers |
| 3 | # |
| 4 | |
| 5 | if PLAT_SPEAR |
| 6 | |
| 7 | config PINCTRL_SPEAR |
| 8 | bool |
| 9 | depends on OF |
| 10 | select PINMUX |
| 11 | help |
| 12 | This enables pin control drivers for SPEAr Platform |
| 13 | |
Viresh Kumar | 52130b6 | 2012-03-28 22:27:07 +0530 | [diff] [blame] | 14 | config PINCTRL_SPEAR3XX |
| 15 | bool |
| 16 | depends on ARCH_SPEAR3XX |
| 17 | select PINCTRL_SPEAR |
| 18 | |
| 19 | config PINCTRL_SPEAR300 |
| 20 | bool "ST Microelectronics SPEAr300 SoC pin controller driver" |
| 21 | depends on MACH_SPEAR300 |
| 22 | select PINCTRL_SPEAR3XX |
| 23 | |
| 24 | config PINCTRL_SPEAR310 |
| 25 | bool "ST Microelectronics SPEAr310 SoC pin controller driver" |
| 26 | depends on MACH_SPEAR310 |
| 27 | select PINCTRL_SPEAR3XX |
Viresh Kumar | f4f8e56 | 2012-10-27 15:21:38 +0530 | [diff] [blame] | 28 | select PINCTRL_SPEAR_PLGPIO |
Viresh Kumar | 52130b6 | 2012-03-28 22:27:07 +0530 | [diff] [blame] | 29 | |
| 30 | config PINCTRL_SPEAR320 |
| 31 | bool "ST Microelectronics SPEAr320 SoC pin controller driver" |
| 32 | depends on MACH_SPEAR320 |
| 33 | select PINCTRL_SPEAR3XX |
Viresh Kumar | f4f8e56 | 2012-10-27 15:21:38 +0530 | [diff] [blame] | 34 | select PINCTRL_SPEAR_PLGPIO |
Viresh Kumar | 52130b6 | 2012-03-28 22:27:07 +0530 | [diff] [blame] | 35 | |
Viresh Kumar | 85ed41a | 2012-03-28 22:27:07 +0530 | [diff] [blame] | 36 | config PINCTRL_SPEAR1310 |
| 37 | bool "ST Microelectronics SPEAr1310 SoC pin controller driver" |
| 38 | depends on MACH_SPEAR1310 |
| 39 | select PINCTRL_SPEAR |
Viresh Kumar | f4f8e56 | 2012-10-27 15:21:38 +0530 | [diff] [blame] | 40 | select PINCTRL_SPEAR_PLGPIO |
Viresh Kumar | 85ed41a | 2012-03-28 22:27:07 +0530 | [diff] [blame] | 41 | |
| 42 | config PINCTRL_SPEAR1340 |
| 43 | bool "ST Microelectronics SPEAr1340 SoC pin controller driver" |
| 44 | depends on MACH_SPEAR1340 |
| 45 | select PINCTRL_SPEAR |
Viresh Kumar | f4f8e56 | 2012-10-27 15:21:38 +0530 | [diff] [blame] | 46 | select PINCTRL_SPEAR_PLGPIO |
Viresh Kumar | 85ed41a | 2012-03-28 22:27:07 +0530 | [diff] [blame] | 47 | |
Viresh Kumar | 604bb7d | 2012-10-27 15:21:37 +0530 | [diff] [blame] | 48 | config 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 Kumar | deda828 | 2012-03-28 22:27:07 +0530 | [diff] [blame] | 55 | endif |