xref: /openbmc/linux/drivers/staging/iio/adc/Kconfig (revision 9344dade)
1#
2# ADC drivers
3#
4menu "Analog to digital converters"
5
6config AD7291
7	tristate "Analog Devices AD7291 ADC driver"
8	depends on I2C
9	help
10	  Say yes here to build support for Analog Devices AD7291
11	  8 Channel ADC with temperature sensor.
12
13config AD7606
14	tristate "Analog Devices AD7606 ADC driver"
15	depends on GPIOLIB
16	select IIO_BUFFER
17	select IIO_TRIGGERED_BUFFER
18	help
19	  Say yes here to build support for Analog Devices:
20	  ad7606, ad7606-6, ad7606-4 analog to digital converters (ADC).
21
22	  To compile this driver as a module, choose M here: the
23	  module will be called ad7606.
24
25config AD7606_IFACE_PARALLEL
26	tristate "parallel interface support"
27	depends on AD7606
28	help
29	  Say yes here to include parallel interface support on the AD7606
30	  ADC driver.
31
32config AD7606_IFACE_SPI
33	tristate "spi interface support"
34	depends on AD7606
35	depends on SPI
36	help
37	  Say yes here to include parallel interface support on the AD7606
38	  ADC driver.
39
40config AD799X
41	tristate "Analog Devices AD799x ADC driver"
42	depends on I2C
43	select IIO_TRIGGER if IIO_BUFFER
44	select AD799X_RING_BUFFER
45	help
46	  Say yes here to build support for Analog Devices:
47	  ad7991, ad7995, ad7999, ad7992, ad7993, ad7994, ad7997, ad7998
48	  i2c analog to digital converters (ADC). Provides direct access
49	  via sysfs.
50
51config AD799X_RING_BUFFER
52	bool "Analog Devices AD799x: use ring buffer"
53	depends on AD799X
54	select IIO_BUFFER
55	select IIO_TRIGGERED_BUFFER
56	help
57	  Say yes here to include ring buffer support in the AD799X
58	  ADC driver.
59
60config AD7780
61	tristate "Analog Devices AD7780 and similar ADCs driver"
62	depends on SPI
63	depends on GPIOLIB
64	select AD_SIGMA_DELTA
65	help
66	  Say yes here to build support for Analog Devices AD7170, AD7171,
67	  AD7780 and AD7781 SPI analog to digital converters (ADC).
68	  If unsure, say N (but it's safe to say "Y").
69
70	  To compile this driver as a module, choose M here: the
71	  module will be called ad7780.
72
73config AD7816
74	tristate "Analog Devices AD7816/7/8 temperature sensor and ADC driver"
75	depends on SPI
76	depends on GPIOLIB
77	help
78	  Say yes here to build support for Analog Devices AD7816/7/8
79	  temperature sensors and ADC.
80
81config AD7192
82	tristate "Analog Devices AD7190 AD7192 AD7195 ADC driver"
83	depends on SPI
84	select AD_SIGMA_DELTA
85	help
86	  Say yes here to build support for Analog Devices AD7190,
87	  AD7192 or AD7195 SPI analog to digital converters (ADC).
88	  If unsure, say N (but it's safe to say "Y").
89
90	  To compile this driver as a module, choose M here: the
91	  module will be called ad7192.
92
93config AD7280
94	tristate "Analog Devices AD7280A Lithium Ion Battery Monitoring System"
95	depends on SPI
96	help
97	  Say yes here to build support for Analog Devices AD7280A
98	  Lithium Ion Battery Monitoring System.
99
100	  To compile this driver as a module, choose M here: the
101	  module will be called ad7280a
102
103config LPC32XX_ADC
104	tristate "NXP LPC32XX ADC"
105	depends on ARCH_LPC32XX
106	help
107	  Say yes here to build support for the integrated ADC inside the
108	  LPC32XX SoC. Note that this feature uses the same hardware as the
109	  touchscreen driver, so you should either select only one of the two
110	  drivers (lpc32xx_adc or lpc32xx_ts) or, in the OpenFirmware case,
111	  activate only one via device tree selection.  Provides direct access
112	  via sysfs.
113
114config MXS_LRADC
115	tristate "Freescale i.MX23/i.MX28 LRADC"
116	depends on ARCH_MXS
117	select IIO_BUFFER
118	select IIO_TRIGGERED_BUFFER
119	help
120	  Say yes here to build support for i.MX23/i.MX28 LRADC convertor
121	  built into these chips.
122
123	  To compile this driver as a module, choose M here: the
124	  module will be called mxs-lradc.
125
126config SPEAR_ADC
127	tristate "ST SPEAr ADC"
128	depends on PLAT_SPEAR
129	help
130	  Say yes here to build support for the integrated ADC inside the
131	  ST SPEAr SoC. Provides direct access via sysfs.
132
133endmenu
134