xref: /openbmc/linux/drivers/pinctrl/spear/Kconfig (revision ec8f24b7)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2deda8287SViresh Kumar#
3deda8287SViresh Kumar# ST Microelectronics SPEAr PINCTRL drivers
4deda8287SViresh Kumar#
5deda8287SViresh Kumar
6deda8287SViresh Kumarif PLAT_SPEAR
7deda8287SViresh Kumar
8deda8287SViresh Kumarconfig PINCTRL_SPEAR
9deda8287SViresh Kumar	bool
10deda8287SViresh Kumar	depends on OF
11deda8287SViresh Kumar	select PINMUX
12deda8287SViresh Kumar	help
13deda8287SViresh Kumar	  This enables pin control drivers for SPEAr Platform
14deda8287SViresh Kumar
1552130b60SViresh Kumarconfig PINCTRL_SPEAR3XX
1652130b60SViresh Kumar	bool
1752130b60SViresh Kumar	depends on ARCH_SPEAR3XX
1852130b60SViresh Kumar	select PINCTRL_SPEAR
1952130b60SViresh Kumar
2052130b60SViresh Kumarconfig PINCTRL_SPEAR300
2152130b60SViresh Kumar	bool "ST Microelectronics SPEAr300 SoC pin controller driver"
2252130b60SViresh Kumar	depends on MACH_SPEAR300
2352130b60SViresh Kumar	select PINCTRL_SPEAR3XX
2452130b60SViresh Kumar
2552130b60SViresh Kumarconfig PINCTRL_SPEAR310
2652130b60SViresh Kumar	bool "ST Microelectronics SPEAr310 SoC pin controller driver"
2752130b60SViresh Kumar	depends on MACH_SPEAR310
2852130b60SViresh Kumar	select PINCTRL_SPEAR3XX
29f4f8e563SViresh Kumar	select PINCTRL_SPEAR_PLGPIO
3052130b60SViresh Kumar
3152130b60SViresh Kumarconfig PINCTRL_SPEAR320
3252130b60SViresh Kumar	bool "ST Microelectronics SPEAr320 SoC pin controller driver"
3352130b60SViresh Kumar	depends on MACH_SPEAR320
3452130b60SViresh Kumar	select PINCTRL_SPEAR3XX
35f4f8e563SViresh Kumar	select PINCTRL_SPEAR_PLGPIO
3652130b60SViresh Kumar
3785ed41a7SViresh Kumarconfig PINCTRL_SPEAR1310
3885ed41a7SViresh Kumar	bool "ST Microelectronics SPEAr1310 SoC pin controller driver"
3985ed41a7SViresh Kumar	depends on MACH_SPEAR1310
4085ed41a7SViresh Kumar	select PINCTRL_SPEAR
41f4f8e563SViresh Kumar	select PINCTRL_SPEAR_PLGPIO
4285ed41a7SViresh Kumar
4385ed41a7SViresh Kumarconfig PINCTRL_SPEAR1340
4485ed41a7SViresh Kumar	bool "ST Microelectronics SPEAr1340 SoC pin controller driver"
4585ed41a7SViresh Kumar	depends on MACH_SPEAR1340
4685ed41a7SViresh Kumar	select PINCTRL_SPEAR
47f4f8e563SViresh Kumar	select PINCTRL_SPEAR_PLGPIO
4885ed41a7SViresh Kumar
49604bb7daSViresh Kumarconfig PINCTRL_SPEAR_PLGPIO
50604bb7daSViresh Kumar	bool "SPEAr SoC PLGPIO Controller"
51604bb7daSViresh Kumar	depends on GPIOLIB && PINCTRL_SPEAR
5222763bf5SLinus Walleij	select GPIOLIB_IRQCHIP
53604bb7daSViresh Kumar	help
54604bb7daSViresh Kumar	  Say yes here to support PLGPIO controller on ST Microelectronics SPEAr
55604bb7daSViresh Kumar	  SoCs.
56604bb7daSViresh Kumar
57deda8287SViresh Kumarendif
58