xref: /openbmc/linux/drivers/iio/adc/Kconfig (revision f5005f78)
1#
2# ADC drivers
3#
4# When adding new entries keep the list in alphabetical order
5
6menu "Analog to digital converters"
7
8config AD_SIGMA_DELTA
9	tristate
10	select IIO_BUFFER
11	select IIO_TRIGGERED_BUFFER
12
13config AD7266
14	tristate "Analog Devices AD7265/AD7266 ADC driver"
15	depends on SPI_MASTER
16	select IIO_BUFFER
17	select IIO_TRIGGER
18	select IIO_TRIGGERED_BUFFER
19	help
20	  Say yes here to build support for Analog Devices AD7265 and AD7266
21	  ADCs.
22
23config AD7291
24	tristate "Analog Devices AD7291 ADC driver"
25	depends on I2C
26	help
27	  Say yes here to build support for Analog Devices AD7291
28	  8 Channel ADC with temperature sensor.
29
30	  To compile this driver as a module, choose M here: the
31	  module will be called ad7291.
32
33config AD7298
34	tristate "Analog Devices AD7298 ADC driver"
35	depends on SPI
36	select IIO_BUFFER
37	select IIO_TRIGGERED_BUFFER
38	help
39	  Say yes here to build support for Analog Devices AD7298
40	  8 Channel ADC with temperature sensor.
41
42	  To compile this driver as a module, choose M here: the
43	  module will be called ad7298.
44
45config AD7476
46	tristate "Analog Devices AD7476 and similar 1-channel ADCs driver"
47	depends on SPI
48	select IIO_BUFFER
49	select IIO_TRIGGERED_BUFFER
50	help
51	  Say yes here to build support for Analog Devices AD7273, AD7274, AD7276,
52	  AD7277, AD7278, AD7475, AD7476, AD7477, AD7478, AD7466, AD7467, AD7468,
53	  AD7495, AD7910, AD7920, AD7920 SPI analog to digital converters (ADC).
54
55	  If unsure, say N (but it's safe to say "Y").
56
57	  To compile this driver as a module, choose M here: the
58	  module will be called ad7476.
59
60config AD7791
61	tristate "Analog Devices AD7791 ADC driver"
62	depends on SPI
63	select AD_SIGMA_DELTA
64	help
65	  Say yes here to build support for Analog Devices AD7787, AD7788, AD7789,
66	  AD7790 and AD7791 SPI analog to digital converters (ADC). If unsure, say
67	  N (but it is safe to say "Y").
68
69	  To compile this driver as a module, choose M here: the module will be
70	  called ad7791.
71
72config AD7793
73	tristate "Analog Devices AD7793 and similar ADCs driver"
74	depends on SPI
75	select AD_SIGMA_DELTA
76	help
77	  Say yes here to build support for Analog Devices AD7785, AD7792, AD7793,
78	  AD7794 and AD7795 SPI analog to digital converters (ADC).
79	  If unsure, say N (but it's safe to say "Y").
80
81	  To compile this driver as a module, choose M here: the
82	  module will be called AD7793.
83
84config AD7887
85	tristate "Analog Devices AD7887 ADC driver"
86	depends on SPI
87	select IIO_BUFFER
88	select IIO_TRIGGERED_BUFFER
89	help
90	  Say yes here to build support for Analog Devices
91	  AD7887 SPI analog to digital converter (ADC).
92	  If unsure, say N (but it's safe to say "Y").
93
94	  To compile this driver as a module, choose M here: the
95	  module will be called ad7887.
96
97config AD7923
98	tristate "Analog Devices AD7923 and similar ADCs driver"
99	depends on SPI
100	select IIO_BUFFER
101	select IIO_TRIGGERED_BUFFER
102	help
103	  Say yes here to build support for Analog Devices
104	  AD7904, AD7914, AD7923, AD7924 4 Channel ADCs.
105
106	  To compile this driver as a module, choose M here: the
107	  module will be called ad7923.
108
109config AD799X
110	tristate "Analog Devices AD799x ADC driver"
111	depends on I2C
112	select IIO_BUFFER
113	select IIO_TRIGGERED_BUFFER
114	help
115	  Say yes here to build support for Analog Devices:
116	  ad7991, ad7995, ad7999, ad7992, ad7993, ad7994, ad7997, ad7998
117	  i2c analog to digital converters (ADC). Provides direct access
118	  via sysfs.
119
120config AT91_ADC
121	tristate "Atmel AT91 ADC"
122	depends on ARCH_AT91
123	depends on INPUT
124	select IIO_BUFFER
125	select IIO_TRIGGERED_BUFFER
126	select SYSFS
127	help
128	  Say yes here to build support for Atmel AT91 ADC.
129
130config AXP288_ADC
131	tristate "X-Powers AXP288 ADC driver"
132	depends on MFD_AXP20X
133	help
134	  Say yes here to have support for X-Powers power management IC (PMIC) ADC
135	  device. Depending on platform configuration, this general purpose ADC can
136	  be used for sampling sensors such as thermal resistors.
137
138config BERLIN2_ADC
139	tristate "Marvell Berlin2 ADC driver"
140	depends on ARCH_BERLIN
141	help
142	  Marvell Berlin2 ADC driver. This ADC has 8 channels, with one used for
143	  temperature measurement.
144
145config DA9150_GPADC
146	tristate "Dialog DA9150 GPADC driver support"
147	depends on MFD_DA9150
148	help
149	  Say yes here to build support for Dialog DA9150 GPADC.
150
151	  This driver can also be built as a module. If chosen, the module name
152	  will be da9150-gpadc.
153
154config CC10001_ADC
155	tristate "Cosmic Circuits 10001 ADC driver"
156	depends on HAS_IOMEM && HAVE_CLK && REGULATOR
157	select IIO_BUFFER
158	select IIO_TRIGGERED_BUFFER
159	help
160	  Say yes here to build support for Cosmic Circuits 10001 ADC.
161
162	  This driver can also be built as a module. If so, the module will be
163	  called cc10001_adc.
164
165config EXYNOS_ADC
166	tristate "Exynos ADC driver support"
167	depends on ARCH_EXYNOS || ARCH_S3C24XX || ARCH_S3C64XX || (OF && COMPILE_TEST)
168	help
169	  Core support for the ADC block found in the Samsung EXYNOS series
170	  of SoCs for drivers such as the touchscreen and hwmon to use to share
171	  this resource.
172
173config LP8788_ADC
174	tristate "LP8788 ADC driver"
175	depends on MFD_LP8788
176	help
177	  Say yes here to build support for TI LP8788 ADC.
178
179config MAX1027
180	tristate "Maxim max1027 ADC driver"
181	depends on SPI
182	select IIO_BUFFER
183	select IIO_TRIGGERED_BUFFER
184	help
185	  Say yes here to build support for Maxim SPI ADC models
186	  max1027, max1029 and max1031.
187
188config MAX1363
189	tristate "Maxim max1363 ADC driver"
190	depends on I2C
191	select IIO_BUFFER
192	select IIO_TRIGGERED_BUFFER
193	help
194	  Say yes here to build support for many Maxim i2c analog to digital
195	  converters (ADC). (max1361, max1362, max1363, max1364, max1036,
196	  max1037, max1038, max1039, max1136, max1136, max1137, max1138,
197	  max1139, max1236, max1237, max11238, max1239, max11600, max11601,
198	  max11602, max11603, max11604, max11605, max11606, max11607,
199	  max11608, max11609, max11610, max11611, max11612, max11613,
200	  max11614, max11615, max11616, max11617, max11644, max11645,
201	  max11646, max11647) Provides direct access via sysfs and buffered
202	  data via the iio dev interface.
203
204config MCP320X
205	tristate "Microchip Technology MCP3x01/02/04/08"
206	depends on SPI
207	help
208	  Say yes here to build support for Microchip Technology's
209	  MCP3001, MCP3002, MCP3004, MCP3008, MCP3201, MCP3202, MCP3204 or
210	  MCP3208 analog to digital converter.
211
212	  This driver can also be built as a module. If so, the module will be
213	  called mcp320x.
214
215config MCP3422
216	tristate "Microchip Technology MCP3422/3/4/6/7/8 driver"
217	depends on I2C
218	help
219	  Say yes here to build support for Microchip Technology's
220	  MCP3422, MCP3423, MCP3424, MCP3426, MCP3427 or MCP3428
221	  analog to digital converters.
222
223	  This driver can also be built as a module. If so, the module will be
224	  called mcp3422.
225
226config MEN_Z188_ADC
227	tristate "MEN 16z188 ADC IP Core support"
228	depends on MCB
229	help
230	  Say yes here to enable support for the MEN 16z188 ADC IP-Core on a MCB
231	  carrier.
232
233	  This driver can also be built as a module. If so, the module will be
234	  called men_z188_adc.
235
236config NAU7802
237	tristate "Nuvoton NAU7802 ADC driver"
238	depends on I2C
239	help
240	  Say yes here to build support for Nuvoton NAU7802 ADC.
241
242	  To compile this driver as a module, choose M here: the
243	  module will be called nau7802.
244
245config QCOM_SPMI_IADC
246	tristate "Qualcomm SPMI PMIC current ADC"
247	depends on SPMI
248	select REGMAP_SPMI
249	help
250	  This is the IIO Current ADC driver for Qualcomm QPNP IADC Chip.
251
252	  The driver supports single mode operation to read from one of two
253	  channels (external or internal). Hardware have additional
254	  channels internally used for gain and offset calibration.
255
256	  To compile this driver as a module, choose M here: the module will
257	  be called qcom-spmi-iadc.
258
259config QCOM_SPMI_VADC
260	tristate "Qualcomm SPMI PMIC voltage ADC"
261	depends on SPMI
262	select REGMAP_SPMI
263	help
264	  This is the IIO Voltage ADC driver for Qualcomm QPNP VADC Chip.
265
266	  The driver supports multiple channels read. The VADC is a 15-bit
267	  sigma-delta ADC. Some of the channels are internally used for
268	  calibration.
269
270	  To compile this driver as a module, choose M here: the module will
271	  be called qcom-spmi-vadc.
272
273config ROCKCHIP_SARADC
274	tristate "Rockchip SARADC driver"
275	depends on ARCH_ROCKCHIP || (ARM && COMPILE_TEST)
276	help
277	  Say yes here to build support for the SARADC found in SoCs from
278	  Rockchip.
279
280	  To compile this driver as a module, choose M here: the
281	  module will be called rockchip_saradc.
282
283config TI_ADC081C
284	tristate "Texas Instruments ADC081C021/027"
285	depends on I2C
286	help
287	  If you say yes here you get support for Texas Instruments ADC081C021
288	  and ADC081C027 ADC chips.
289
290	  This driver can also be built as a module. If so, the module will be
291	  called ti-adc081c.
292
293config TI_ADC128S052
294	tristate "Texas Instruments ADC128S052/ADC122S021"
295	depends on SPI
296	help
297	  If you say yes here you get support for Texas Instruments ADC128S052
298	  and ADC122S021 chips.
299
300	  This driver can also be built as a module. If so, the module will be
301	  called ti-adc128s052.
302
303config TI_AM335X_ADC
304	tristate "TI's AM335X ADC driver"
305	depends on MFD_TI_AM335X_TSCADC
306	select IIO_BUFFER
307	select IIO_KFIFO_BUF
308	help
309	  Say yes here to build support for Texas Instruments ADC
310	  driver which is also a MFD client.
311
312config TWL4030_MADC
313	tristate "TWL4030 MADC (Monitoring A/D Converter)"
314	depends on TWL4030_CORE
315	help
316	This driver provides support for Triton TWL4030-MADC. The
317	driver supports both RT and SW conversion methods.
318
319	This driver can also be built as a module. If so, the module will be
320	called twl4030-madc.
321
322config TWL6030_GPADC
323	tristate "TWL6030 GPADC (General Purpose A/D Converter) Support"
324	depends on TWL4030_CORE
325	default n
326	help
327	  Say yes here if you want support for the TWL6030/TWL6032 General
328	  Purpose A/D Converter. This will add support for battery type
329	  detection, battery voltage and temperature measurement, die
330	  temperature measurement, system supply voltage, audio accessory,
331	  USB ID detection.
332
333	  This driver can also be built as a module. If so, the module will be
334	  called twl6030-gpadc.
335
336config VF610_ADC
337	tristate "Freescale vf610 ADC driver"
338	depends on OF
339	help
340	  Say yes here to support for Vybrid board analog-to-digital converter.
341	  Since the IP is used for i.MX6SLX, the driver also support i.MX6SLX.
342
343	  This driver can also be built as a module. If so, the module will be
344	  called vf610_adc.
345
346config VIPERBOARD_ADC
347	tristate "Viperboard ADC support"
348	depends on MFD_VIPERBOARD && USB
349	help
350	  Say yes here to access the ADC part of the Nano River
351	  Technologies Viperboard.
352
353config XILINX_XADC
354	tristate "Xilinx XADC driver"
355	depends on ARCH_ZYNQ || MICROBLAZE || COMPILE_TEST
356	depends on HAS_IOMEM
357	select IIO_BUFFER
358	select IIO_TRIGGERED_BUFFER
359	help
360	  Say yes here to have support for the Xilinx XADC. The driver does support
361	  both the ZYNQ interface to the XADC as well as the AXI-XADC interface.
362
363	  The driver can also be build as a module. If so, the module will be called
364	  xilinx-xadc.
365
366endmenu
367