2019-05-19 15:07:45 +03:00
# SPDX-License-Identifier: GPL-2.0-only
2012-03-28 20:57:07 +04:00
#
# 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
2012-03-28 20:57:07 +04:00
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
2012-10-27 13:51:38 +04:00
select PINCTRL_SPEAR_PLGPIO
2012-03-28 20:57:07 +04:00
config PINCTRL_SPEAR320
bool "ST Microelectronics SPEAr320 SoC pin controller driver"
depends on MACH_SPEAR320
select PINCTRL_SPEAR3XX
2012-10-27 13:51:38 +04:00
select PINCTRL_SPEAR_PLGPIO
2012-03-28 20:57:07 +04:00
2012-03-28 20:57:07 +04:00
config PINCTRL_SPEAR1310
bool "ST Microelectronics SPEAr1310 SoC pin controller driver"
depends on MACH_SPEAR1310
select PINCTRL_SPEAR
2012-10-27 13:51:38 +04:00
select PINCTRL_SPEAR_PLGPIO
2012-03-28 20:57:07 +04:00
config PINCTRL_SPEAR1340
bool "ST Microelectronics SPEAr1340 SoC pin controller driver"
depends on MACH_SPEAR1340
select PINCTRL_SPEAR
2012-10-27 13:51:38 +04:00
select PINCTRL_SPEAR_PLGPIO
2012-03-28 20:57:07 +04:00
2012-10-27 13:51:37 +04:00
config PINCTRL_SPEAR_PLGPIO
bool "SPEAr SoC PLGPIO Controller"
depends on GPIOLIB && PINCTRL_SPEAR
2014-05-29 13:18:48 +04:00
select GPIOLIB_IRQCHIP
2012-10-27 13:51:37 +04:00
help
Say yes here to support PLGPIO controller on ST Microelectronics SPEAr
SoCs.
2012-03-28 20:57:07 +04:00
endif