drivers: power: report battery voltage in AOSP compatible format
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / pinctrl / Kconfig
... / ...
CommitLineData
1#
2# PINCTRL infrastructure and drivers
3#
4
5config PINCTRL
6 bool
7
8if PINCTRL
9
10menu "Pin controllers"
11 depends on PINCTRL
12
13config PINMUX
14 bool "Support pin multiplexing controllers"
15
16config PINCONF
17 bool "Support pin configuration controllers"
18
19config GENERIC_PINCONF
20 bool
21 select PINCONF
22
23config DEBUG_PINCTRL
24 bool "Debug PINCTRL calls"
25 depends on DEBUG_KERNEL
26 help
27 Say Y here to add some extra checks and diagnostics to PINCTRL calls.
28
29config PINCTRL_ABX500
30 bool "ST-Ericsson ABx500 family Mixed Signal Circuit gpio functions"
31 depends on AB8500_CORE
32 select GENERIC_PINCONF
33 help
34 Select this to enable the ABx500 family IC GPIO driver
35
36config PINCTRL_AB8500
37 bool "AB8500 pin controller driver"
38 depends on PINCTRL_ABX500 && ARCH_U8500
39
40config PINCTRL_AB8540
41 bool "AB8540 pin controller driver"
42 depends on PINCTRL_ABX500 && ARCH_U8500
43
44config PINCTRL_AB9540
45 bool "AB9540 pin controller driver"
46 depends on PINCTRL_ABX500 && ARCH_U8500
47
48config PINCTRL_AB8505
49 bool "AB8505 pin controller driver"
50 depends on PINCTRL_ABX500 && ARCH_U8500
51
52config PINCTRL_AT91
53 bool "AT91 pinctrl driver"
54 depends on OF
55 depends on ARCH_AT91
56 select PINMUX
57 select PINCONF
58 help
59 Say Y here to enable the at91 pinctrl driver
60
61config PINCTRL_BCM2835
62 bool
63 select PINMUX
64 select PINCONF
65
66config PINCTRL_IMX
67 bool
68 select PINMUX
69 select PINCONF
70
71config PINCTRL_IMX35
72 bool "IMX35 pinctrl driver"
73 depends on OF
74 depends on SOC_IMX35
75 select PINCTRL_IMX
76 help
77 Say Y here to enable the imx35 pinctrl driver
78
79config PINCTRL_IMX51
80 bool "IMX51 pinctrl driver"
81 depends on OF
82 depends on SOC_IMX51
83 select PINCTRL_IMX
84 help
85 Say Y here to enable the imx51 pinctrl driver
86
87config PINCTRL_IMX53
88 bool "IMX53 pinctrl driver"
89 depends on OF
90 depends on SOC_IMX53
91 select PINCTRL_IMX
92 help
93 Say Y here to enable the imx53 pinctrl driver
94
95config PINCTRL_IMX6Q
96 bool "IMX6Q/DL pinctrl driver"
97 depends on OF
98 depends on SOC_IMX6Q
99 select PINCTRL_IMX
100 help
101 Say Y here to enable the imx6q/dl pinctrl driver
102
103config PINCTRL_IMX6SL
104 bool "IMX6SL pinctrl driver"
105 depends on OF
106 depends on SOC_IMX6SL
107 select PINCTRL_IMX
108 help
109 Say Y here to enable the imx6sl pinctrl driver
110
111config PINCTRL_LANTIQ
112 bool
113 depends on LANTIQ
114 select PINMUX
115 select PINCONF
116
117config PINCTRL_FALCON
118 bool
119 depends on SOC_FALCON
120 depends on PINCTRL_LANTIQ
121
122config PINCTRL_MXS
123 bool
124 select PINMUX
125 select PINCONF
126
127config PINCTRL_IMX23
128 bool
129 select PINCTRL_MXS
130
131config PINCTRL_IMX28
132 bool
133 select PINCTRL_MXS
134
135config PINCTRL_NOMADIK
136 bool "Nomadik pin controller driver"
137 depends on ARCH_U8500 || ARCH_NOMADIK
138 select PINMUX
139 select PINCONF
140
141config PINCTRL_STN8815
142 bool "STN8815 pin controller driver"
143 depends on PINCTRL_NOMADIK && ARCH_NOMADIK
144
145config PINCTRL_DB8500
146 bool "DB8500 pin controller driver"
147 depends on PINCTRL_NOMADIK && ARCH_U8500
148
149config PINCTRL_DB8540
150 bool "DB8540 pin controller driver"
151 depends on PINCTRL_NOMADIK && ARCH_U8500
152
153config PINCTRL_SINGLE
154 tristate "One-register-per-pin type device tree based pinctrl driver"
155 depends on OF
156 select PINMUX
157 select PINCONF
158 select GENERIC_PINCONF
159 help
160 This selects the device tree based generic pinctrl driver.
161
162config PINCTRL_SIRF
163 bool "CSR SiRFprimaII/SiRFmarco pin controller driver"
164 depends on ARCH_SIRF
165 select PINMUX
166
167config PINCTRL_SUNXI
168 bool
169 select PINMUX
170 select GENERIC_PINCONF
171
172config PINCTRL_TEGRA
173 bool
174 select PINMUX
175 select PINCONF
176
177config PINCTRL_TEGRA20
178 bool
179 select PINCTRL_TEGRA
180
181config PINCTRL_TEGRA30
182 bool
183 select PINCTRL_TEGRA
184
185config PINCTRL_TEGRA114
186 bool
187 select PINCTRL_TEGRA
188
189config PINCTRL_U300
190 bool "U300 pin controller driver"
191 depends on ARCH_U300
192 select PINMUX
193 select GENERIC_PINCONF
194
195config PINCTRL_COH901
196 bool "ST-Ericsson U300 COH 901 335/571 GPIO"
197 depends on GPIOLIB && ARCH_U300 && PINCTRL_U300
198 help
199 Say yes here to support GPIO interface on ST-Ericsson U300.
200 The names of the two IP block variants supported are
201 COH 901 335 and COH 901 571/3. They contain 3, 5 or 7
202 ports of 8 GPIO pins each.
203
204config PINCTRL_SAMSUNG
205 bool
206 select PINMUX
207 select PINCONF
208
209config PINCTRL_EXYNOS
210 bool "Pinctrl driver data for Samsung EXYNOS SoCs"
211 depends on OF && GPIOLIB
212 select PINCTRL_SAMSUNG
213
214config PINCTRL_EXYNOS5440
215 bool "Samsung EXYNOS5440 SoC pinctrl driver"
216 select PINMUX
217 select PINCONF
218
219config PINCTRL_S3C64XX
220 bool "Samsung S3C64XX SoC pinctrl driver"
221 depends on ARCH_S3C64XX
222 select PINCTRL_SAMSUNG
223
224source "drivers/pinctrl/mvebu/Kconfig"
225source "drivers/pinctrl/sh-pfc/Kconfig"
226source "drivers/pinctrl/spear/Kconfig"
227source "drivers/pinctrl/vt8500/Kconfig"
228
229config PINCTRL_XWAY
230 bool
231 depends on SOC_TYPE_XWAY
232 depends on PINCTRL_LANTIQ
233
234endmenu
235
236endif