Commit | Line | Data |
---|---|---|
deda8287 VK |
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 | ||
52130b60 VK |
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 | |
f4f8e563 | 28 | select PINCTRL_SPEAR_PLGPIO |
52130b60 VK |
29 | |
30 | config PINCTRL_SPEAR320 | |
31 | bool "ST Microelectronics SPEAr320 SoC pin controller driver" | |
32 | depends on MACH_SPEAR320 | |
33 | select PINCTRL_SPEAR3XX | |
f4f8e563 | 34 | select PINCTRL_SPEAR_PLGPIO |
52130b60 | 35 | |
85ed41a7 VK |
36 | config PINCTRL_SPEAR1310 |
37 | bool "ST Microelectronics SPEAr1310 SoC pin controller driver" | |
38 | depends on MACH_SPEAR1310 | |
39 | select PINCTRL_SPEAR | |
f4f8e563 | 40 | select PINCTRL_SPEAR_PLGPIO |
85ed41a7 VK |
41 | |
42 | config PINCTRL_SPEAR1340 | |
43 | bool "ST Microelectronics SPEAr1340 SoC pin controller driver" | |
44 | depends on MACH_SPEAR1340 | |
45 | select PINCTRL_SPEAR | |
f4f8e563 | 46 | select PINCTRL_SPEAR_PLGPIO |
85ed41a7 | 47 | |
604bb7da VK |
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 | ||
deda8287 | 55 | endif |