mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 19:29:37 +00:00
![Linus Walleij](/assets/img/avatar_default.png)
This switches the SPEAr PLGPIO driver over to using the irqchip helpers. As part of this effort, also get rid of the strange irq_base calculation and failure to use d->hwirq for obtaining a local irqchip offset. Cc: Viresh Kumar <viresh.linux@gmail.com> Cc: Shiraz Hashim <shiraz.linux.kernel@gmail.com> Cc: spear-devel@list.st.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
56 lines
1.3 KiB
Text
56 lines
1.3 KiB
Text
#
|
|
# ST Microelectronics SPEAr PINCTRL drivers
|
|
#
|
|
|
|
if PLAT_SPEAR
|
|
|
|
config PINCTRL_SPEAR
|
|
bool
|
|
depends on OF
|
|
select PINMUX
|
|
help
|
|
This enables pin control drivers for SPEAr Platform
|
|
|
|
config PINCTRL_SPEAR3XX
|
|
bool
|
|
depends on ARCH_SPEAR3XX
|
|
select PINCTRL_SPEAR
|
|
|
|
config PINCTRL_SPEAR300
|
|
bool "ST Microelectronics SPEAr300 SoC pin controller driver"
|
|
depends on MACH_SPEAR300
|
|
select PINCTRL_SPEAR3XX
|
|
|
|
config PINCTRL_SPEAR310
|
|
bool "ST Microelectronics SPEAr310 SoC pin controller driver"
|
|
depends on MACH_SPEAR310
|
|
select PINCTRL_SPEAR3XX
|
|
select PINCTRL_SPEAR_PLGPIO
|
|
|
|
config PINCTRL_SPEAR320
|
|
bool "ST Microelectronics SPEAr320 SoC pin controller driver"
|
|
depends on MACH_SPEAR320
|
|
select PINCTRL_SPEAR3XX
|
|
select PINCTRL_SPEAR_PLGPIO
|
|
|
|
config PINCTRL_SPEAR1310
|
|
bool "ST Microelectronics SPEAr1310 SoC pin controller driver"
|
|
depends on MACH_SPEAR1310
|
|
select PINCTRL_SPEAR
|
|
select PINCTRL_SPEAR_PLGPIO
|
|
|
|
config PINCTRL_SPEAR1340
|
|
bool "ST Microelectronics SPEAr1340 SoC pin controller driver"
|
|
depends on MACH_SPEAR1340
|
|
select PINCTRL_SPEAR
|
|
select PINCTRL_SPEAR_PLGPIO
|
|
|
|
config PINCTRL_SPEAR_PLGPIO
|
|
bool "SPEAr SoC PLGPIO Controller"
|
|
depends on GPIOLIB && PINCTRL_SPEAR
|
|
select GPIOLIB_IRQCHIP
|
|
help
|
|
Say yes here to support PLGPIO controller on ST Microelectronics SPEAr
|
|
SoCs.
|
|
|
|
endif
|