summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/Kconfig
blob: 6de9d946720cf039292e01efcf288ef6bdabbca7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
menu "Pin controllers"

config PINCTRL
	bool "Pin controller core support"
	default y if OFDEVICE
	help
	  Pincontrollers allow to setup the iomux unit of SoCs. The pin
	  controller core is needed when pin muxing shall be configured
	  from the devicetree. Legacy drivers here may not need this core
	  support but instead provide their own SoC specific APIs

# The following drivers are needed even without PINCTRL because
# the either have a legacy iomux interface or also register a gpio
# chip.
config PINCTRL_AT91
	bool
	help
	    The pinmux controller found on AT91 SoCs.

config PINCTRL_BCM283X
	bool "GPIO and pinmux support for BCM283X"
	depends on ARCH_BCM283X || COMPILE_TEST
	help
	    The pinmux controller on BCM2835

config PINCTRL_IMX_IOMUX_V1
	bool
	help
	  This iomux controller is found on i.MX1,21,27.

config PINCTRL_IMX_IOMUX_V2
	bool
	help
	  This iomux controller is found on i.MX31.

config PINCTRL_IMX_IOMUX_V3
	bool
	help
	  This iomux controller is found on i.MX25,35,51,53,6.

if PINCTRL

if !OFDEVICE
comment "OFDEVICE is not enabled."
comment "Without device tree support PINCTRL won't do anything"
endif

config PINCTRL_AT91PIO4
	bool "AT91 PIO4 pinctrl driver"
	depends on ARCH_AT91
	depends on OFDEVICE
	select GPIOLIB
	select OF_GPIO
	help
	  Say Y here to enable the at91 pinctrl/gpio driver for Atmel PIO4
	  controller available on sama5d2 SoC.

config PINCTRL_MXS
	bool "MXS pinctrl"
	depends on ARCH_MXS || COMPILE_TEST
	default ARCH_MXS
	help
	  This pinmux controller is found on i.MX23,28

config PINCTRL_ROCKCHIP
	select GPIO_GENERIC
	select MFD_SYSCON
	bool
	help
	  The pinmux controller found on Rockchip SoCs.

config PINCTRL_SINGLE
	bool "pinctrl single"

config PINCTRL_TEGRA20
	bool "Tegra20 pinctrl support" if COMPILE_TEST
	default y if ARCH_TEGRA_2x_SOC
	help
	  The pinmux controller found on the Tegra 20 line of SoCs.

config PINCTRL_TEGRA30
	bool "Tegra30 pinctrl support" if COMPILE_TEST
	default y if ARCH_TEGRA_3x_SOC
	default y if ARCH_TEGRA_124_SOC
	help
	  The pinmux controller found on the Tegra 30+ line of SoCs.

config PINCTRL_TEGRA_XUSB
	bool "Tegra SerDes pinmux support" if COMPILE_TEST
	default y if ARCH_TEGRA_124_SOC
	select GENERIC_PHY
	help
	  The pinmux controller found on the Tegra 124 line of SoCs used for
	  the SerDes lanes.

config PINCTRL_VF610
	bool
	default y if ARCH_VF610
	help
	  Pinmux controller found on Vybrid VF610 family of SoCs

config PINCTRL_STM32
	bool "STM32 pinctrl support" if  COMPILE_TEST
	default y if ARCH_STM32MP
	help
	  Pinmux and GPIO controller found on STM32 family
endif

endmenu