rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [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 | |
| 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 |
| 28 | select PINCTRL_SPEAR_PLGPIO |
| 29 | |
| 30 | config 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 | |
| 36 | config 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 | |
| 42 | config 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 | |
| 48 | config 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 | |
| 56 | endif |