xref: /openbmc/linux/drivers/pinctrl/Kconfig (revision 1eb4c977)
1#
2# PINCTRL infrastructure and drivers
3#
4
5config PINCTRL
6	bool
7	depends on EXPERIMENTAL
8
9if PINCTRL
10
11menu "Pin controllers"
12	depends on PINCTRL
13
14config PINMUX
15	bool "Support pin multiplexing controllers"
16
17config PINCONF
18	bool "Support pin configuration controllers"
19
20config GENERIC_PINCONF
21	bool
22	select PINCONF
23
24config DEBUG_PINCTRL
25	bool "Debug PINCTRL calls"
26	depends on DEBUG_KERNEL
27	help
28	  Say Y here to add some extra checks and diagnostics to PINCTRL calls.
29
30config PINCTRL_PXA3xx
31	bool
32	select PINMUX
33
34config PINCTRL_MMP2
35	bool "MMP2 pin controller driver"
36	depends on ARCH_MMP
37	select PINCTRL_PXA3xx
38	select PINCONF
39
40config PINCTRL_PXA168
41	bool "PXA168 pin controller driver"
42	depends on ARCH_MMP
43	select PINCTRL_PXA3xx
44	select PINCONF
45
46config PINCTRL_PXA910
47	bool "PXA910 pin controller driver"
48	depends on ARCH_MMP
49	select PINCTRL_PXA3xx
50	select PINCONF
51
52config PINCTRL_SIRF
53	bool "CSR SiRFprimaII pin controller driver"
54	depends on ARCH_PRIMA2
55	select PINMUX
56
57config PINCTRL_TEGRA
58	bool
59
60config PINCTRL_TEGRA20
61	bool
62	select PINMUX
63	select PINCONF
64	select PINCTRL_TEGRA
65
66config PINCTRL_TEGRA30
67	bool
68	select PINMUX
69	select PINCONF
70	select PINCTRL_TEGRA
71
72config PINCTRL_U300
73	bool "U300 pin controller driver"
74	depends on ARCH_U300
75	select PINMUX
76	select GENERIC_PINCONF
77
78config PINCTRL_COH901
79	bool "ST-Ericsson U300 COH 901 335/571 GPIO"
80	depends on GPIOLIB && ARCH_U300 && PINMUX_U300
81	help
82	  Say yes here to support GPIO interface on ST-Ericsson U300.
83	  The names of the two IP block variants supported are
84	  COH 901 335 and COH 901 571/3. They contain 3, 5 or 7
85	  ports of 8 GPIO pins each.
86
87endmenu
88
89endif
90