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