summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/Kconfig
blob: 46badeee0693ba47f956aaa7707cebab120cb198 (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
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
	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_MXS
	bool "MXS pinctrl"
	depends on ARCH_MXS
	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
	default y if ARCH_TEGRA_2x_SOC
	help
	  The pinmux controller found on the Tegra 20 line of SoCs.

config PINCTRL_TEGRA30
	bool
	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
	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.

source "drivers/pinctrl/mvebu/Kconfig"

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

endmenu