xref: /openbmc/linux/drivers/pinctrl/spear/Kconfig (revision f4f8e563)
1deda8287SViresh Kumar#
2deda8287SViresh Kumar# ST Microelectronics SPEAr PINCTRL drivers
3deda8287SViresh Kumar#
4deda8287SViresh Kumar
5deda8287SViresh Kumarif PLAT_SPEAR
6deda8287SViresh Kumar
7deda8287SViresh Kumarconfig PINCTRL_SPEAR
8deda8287SViresh Kumar	bool
9deda8287SViresh Kumar	depends on OF
10deda8287SViresh Kumar	select PINMUX
11deda8287SViresh Kumar	help
12deda8287SViresh Kumar	  This enables pin control drivers for SPEAr Platform
13deda8287SViresh Kumar
1452130b60SViresh Kumarconfig PINCTRL_SPEAR3XX
1552130b60SViresh Kumar	bool
1652130b60SViresh Kumar	depends on ARCH_SPEAR3XX
1752130b60SViresh Kumar	select PINCTRL_SPEAR
1852130b60SViresh Kumar
1952130b60SViresh Kumarconfig PINCTRL_SPEAR300
2052130b60SViresh Kumar	bool "ST Microelectronics SPEAr300 SoC pin controller driver"
2152130b60SViresh Kumar	depends on MACH_SPEAR300
2252130b60SViresh Kumar	select PINCTRL_SPEAR3XX
2352130b60SViresh Kumar
2452130b60SViresh Kumarconfig PINCTRL_SPEAR310
2552130b60SViresh Kumar	bool "ST Microelectronics SPEAr310 SoC pin controller driver"
2652130b60SViresh Kumar	depends on MACH_SPEAR310
2752130b60SViresh Kumar	select PINCTRL_SPEAR3XX
28f4f8e563SViresh Kumar	select PINCTRL_SPEAR_PLGPIO
2952130b60SViresh Kumar
3052130b60SViresh Kumarconfig PINCTRL_SPEAR320
3152130b60SViresh Kumar	bool "ST Microelectronics SPEAr320 SoC pin controller driver"
3252130b60SViresh Kumar	depends on MACH_SPEAR320
3352130b60SViresh Kumar	select PINCTRL_SPEAR3XX
34f4f8e563SViresh Kumar	select PINCTRL_SPEAR_PLGPIO
3552130b60SViresh Kumar
3685ed41a7SViresh Kumarconfig PINCTRL_SPEAR1310
3785ed41a7SViresh Kumar	bool "ST Microelectronics SPEAr1310 SoC pin controller driver"
3885ed41a7SViresh Kumar	depends on MACH_SPEAR1310
3985ed41a7SViresh Kumar	select PINCTRL_SPEAR
40f4f8e563SViresh Kumar	select PINCTRL_SPEAR_PLGPIO
4185ed41a7SViresh Kumar
4285ed41a7SViresh Kumarconfig PINCTRL_SPEAR1340
4385ed41a7SViresh Kumar	bool "ST Microelectronics SPEAr1340 SoC pin controller driver"
4485ed41a7SViresh Kumar	depends on MACH_SPEAR1340
4585ed41a7SViresh Kumar	select PINCTRL_SPEAR
46f4f8e563SViresh Kumar	select PINCTRL_SPEAR_PLGPIO
4785ed41a7SViresh Kumar
48604bb7daSViresh Kumarconfig PINCTRL_SPEAR_PLGPIO
49604bb7daSViresh Kumar	bool "SPEAr SoC PLGPIO Controller"
50604bb7daSViresh Kumar	depends on GPIOLIB && PINCTRL_SPEAR
51604bb7daSViresh Kumar	help
52604bb7daSViresh Kumar	  Say yes here to support PLGPIO controller on ST Microelectronics SPEAr
53604bb7daSViresh Kumar	  SoCs.
54604bb7daSViresh Kumar
55deda8287SViresh Kumarendif
56