Kconfig 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635
  1. #
  2. # ADC drivers
  3. #
  4. # When adding new entries keep the list in alphabetical order
  5. menu "Analog to digital converters"
  6. config AD_SIGMA_DELTA
  7. tristate
  8. select IIO_BUFFER
  9. select IIO_TRIGGERED_BUFFER
  10. config AD7266
  11. tristate "Analog Devices AD7265/AD7266 ADC driver"
  12. depends on SPI_MASTER
  13. select IIO_BUFFER
  14. select IIO_TRIGGER
  15. select IIO_TRIGGERED_BUFFER
  16. help
  17. Say yes here to build support for Analog Devices AD7265 and AD7266
  18. ADCs.
  19. To compile this driver as a module, choose M here: the module will be
  20. called ad7266.
  21. config AD7291
  22. tristate "Analog Devices AD7291 ADC driver"
  23. depends on I2C
  24. help
  25. Say yes here to build support for Analog Devices AD7291
  26. 8 Channel ADC with temperature sensor.
  27. To compile this driver as a module, choose M here: the
  28. module will be called ad7291.
  29. config AD7298
  30. tristate "Analog Devices AD7298 ADC driver"
  31. depends on SPI
  32. select IIO_BUFFER
  33. select IIO_TRIGGERED_BUFFER
  34. help
  35. Say yes here to build support for Analog Devices AD7298
  36. 8 Channel ADC with temperature sensor.
  37. To compile this driver as a module, choose M here: the
  38. module will be called ad7298.
  39. config AD7476
  40. tristate "Analog Devices AD7476 and similar 1-channel ADCs driver"
  41. depends on SPI
  42. select IIO_BUFFER
  43. select IIO_TRIGGERED_BUFFER
  44. help
  45. Say yes here to build support for Analog Devices AD7273, AD7274, AD7276,
  46. AD7277, AD7278, AD7475, AD7476, AD7477, AD7478, AD7466, AD7467, AD7468,
  47. AD7495, AD7910, AD7920, AD7920 SPI analog to digital converters (ADC).
  48. To compile this driver as a module, choose M here: the
  49. module will be called ad7476.
  50. config AD7766
  51. tristate "Analog Devices AD7766/AD7767 ADC driver"
  52. depends on SPI_MASTER
  53. select IIO_BUFFER
  54. select IIO_TRIGGERED_BUFFER
  55. help
  56. Say yes here to build support for Analog Devices AD7766, AD7766-1,
  57. AD7766-2, AD7767, AD7767-1, AD7767-2 SPI analog to digital converters.
  58. To compile this driver as a module, choose M here: the module will be
  59. called ad7766.
  60. config 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).
  67. To compile this driver as a module, choose M here: the module will be
  68. called ad7791.
  69. config AD7793
  70. tristate "Analog Devices AD7793 and similar ADCs driver"
  71. depends on SPI
  72. select AD_SIGMA_DELTA
  73. help
  74. Say yes here to build support for Analog Devices AD7785, AD7792, AD7793,
  75. AD7794 and AD7795 SPI analog to digital converters (ADC).
  76. To compile this driver as a module, choose M here: the
  77. module will be called AD7793.
  78. config AD7887
  79. tristate "Analog Devices AD7887 ADC driver"
  80. depends on SPI
  81. select IIO_BUFFER
  82. select IIO_TRIGGERED_BUFFER
  83. help
  84. Say yes here to build support for Analog Devices
  85. AD7887 SPI analog to digital converter (ADC).
  86. To compile this driver as a module, choose M here: the
  87. module will be called ad7887.
  88. config AD7923
  89. tristate "Analog Devices AD7923 and similar ADCs driver"
  90. depends on SPI
  91. select IIO_BUFFER
  92. select IIO_TRIGGERED_BUFFER
  93. help
  94. Say yes here to build support for Analog Devices
  95. AD7904, AD7914, AD7923, AD7924 4 Channel ADCs.
  96. To compile this driver as a module, choose M here: the
  97. module will be called ad7923.
  98. config AD799X
  99. tristate "Analog Devices AD799x ADC driver"
  100. depends on I2C
  101. select IIO_BUFFER
  102. select IIO_TRIGGERED_BUFFER
  103. help
  104. Say yes here to build support for Analog Devices:
  105. ad7991, ad7995, ad7999, ad7992, ad7993, ad7994, ad7997, ad7998
  106. i2c analog to digital converters (ADC). Provides direct access
  107. via sysfs.
  108. To compile this driver as a module, choose M here: the module will be
  109. called ad799x.
  110. config AT91_ADC
  111. tristate "Atmel AT91 ADC"
  112. depends on ARCH_AT91
  113. depends on INPUT
  114. select IIO_BUFFER
  115. select IIO_TRIGGERED_BUFFER
  116. select SYSFS
  117. help
  118. Say yes here to build support for Atmel AT91 ADC.
  119. To compile this driver as a module, choose M here: the module will be
  120. called at91_adc.
  121. config AT91_SAMA5D2_ADC
  122. tristate "Atmel AT91 SAMA5D2 ADC"
  123. depends on ARCH_AT91 || COMPILE_TEST
  124. depends on HAS_IOMEM
  125. help
  126. Say yes here to build support for Atmel SAMA5D2 ADC which is
  127. available on SAMA5D2 SoC family.
  128. To compile this driver as a module, choose M here: the module will be
  129. called at91-sama5d2_adc.
  130. config 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. To compile this driver as a module, choose M here: the module will be
  138. called axp288_adc.
  139. config BCM_IPROC_ADC
  140. tristate "Broadcom IPROC ADC driver"
  141. depends on ARCH_BCM_IPROC || COMPILE_TEST
  142. depends on MFD_SYSCON
  143. default ARCH_BCM_CYGNUS
  144. help
  145. Say Y here if you want to add support for the Broadcom static
  146. ADC driver.
  147. Broadcom iProc ADC driver. Broadcom iProc ADC controller has 8
  148. channels. The driver allows the user to read voltage values.
  149. config BERLIN2_ADC
  150. tristate "Marvell Berlin2 ADC driver"
  151. depends on ARCH_BERLIN
  152. help
  153. Marvell Berlin2 ADC driver. This ADC has 8 channels, with one used for
  154. temperature measurement.
  155. config CC10001_ADC
  156. tristate "Cosmic Circuits 10001 ADC driver"
  157. depends on HAS_IOMEM && HAVE_CLK && REGULATOR
  158. select IIO_BUFFER
  159. select IIO_TRIGGERED_BUFFER
  160. help
  161. Say yes here to build support for Cosmic Circuits 10001 ADC.
  162. This driver can also be built as a module. If so, the module will be
  163. called cc10001_adc.
  164. config DA9150_GPADC
  165. tristate "Dialog DA9150 GPADC driver support"
  166. depends on MFD_DA9150
  167. help
  168. Say yes here to build support for Dialog DA9150 GPADC.
  169. This driver can also be built as a module. If chosen, the module name
  170. will be da9150-gpadc.
  171. To compile this driver as a module, choose M here: the module will be
  172. called berlin2-adc.
  173. config ENVELOPE_DETECTOR
  174. tristate "Envelope detector using a DAC and a comparator"
  175. depends on OF
  176. help
  177. Say yes here to build support for an envelope detector using a DAC
  178. and a comparator.
  179. To compile this driver as a module, choose M here: the module will be
  180. called envelope-detector.
  181. config EXYNOS_ADC
  182. tristate "Exynos ADC driver support"
  183. depends on ARCH_EXYNOS || ARCH_S3C24XX || ARCH_S3C64XX || (OF && COMPILE_TEST)
  184. depends on HAS_IOMEM
  185. help
  186. Core support for the ADC block found in the Samsung EXYNOS series
  187. of SoCs for drivers such as the touchscreen and hwmon to use to share
  188. this resource.
  189. To compile this driver as a module, choose M here: the module will be
  190. called exynos_adc.
  191. config FSL_MX25_ADC
  192. tristate "Freescale MX25 ADC driver"
  193. depends on MFD_MX25_TSADC
  194. help
  195. Generic Conversion Queue driver used for general purpose ADC in the
  196. MX25. This driver supports single measurements using the MX25 ADC.
  197. config HI8435
  198. tristate "Holt Integrated Circuits HI-8435 threshold detector"
  199. select IIO_TRIGGERED_EVENT
  200. depends on SPI
  201. help
  202. If you say yes here you get support for Holt Integrated Circuits
  203. HI-8435 chip.
  204. This driver can also be built as a module. If so, the module will be
  205. called hi8435.
  206. config INA2XX_ADC
  207. tristate "Texas Instruments INA2xx Power Monitors IIO driver"
  208. depends on I2C && !SENSORS_INA2XX
  209. select REGMAP_I2C
  210. select IIO_BUFFER
  211. select IIO_KFIFO_BUF
  212. help
  213. Say yes here to build support for TI INA2xx family of Power Monitors.
  214. This driver is mutually exclusive with the HWMON version.
  215. config IMX7D_ADC
  216. tristate "IMX7D ADC driver"
  217. depends on ARCH_MXC || COMPILE_TEST
  218. depends on HAS_IOMEM
  219. help
  220. Say yes here to build support for IMX7D ADC.
  221. This driver can also be built as a module. If so, the module will be
  222. called imx7d_adc.
  223. config LP8788_ADC
  224. tristate "LP8788 ADC driver"
  225. depends on MFD_LP8788
  226. help
  227. Say yes here to build support for TI LP8788 ADC.
  228. To compile this driver as a module, choose M here: the module will be
  229. called lp8788_adc.
  230. config LPC18XX_ADC
  231. tristate "NXP LPC18xx ADC driver"
  232. depends on ARCH_LPC18XX || COMPILE_TEST
  233. depends on OF && HAS_IOMEM
  234. help
  235. Say yes here to build support for NXP LPC18XX ADC.
  236. To compile this driver as a module, choose M here: the module will be
  237. called lpc18xx_adc.
  238. config LTC2485
  239. tristate "Linear Technology LTC2485 ADC driver"
  240. depends on I2C
  241. help
  242. Say yes here to build support for Linear Technology LTC2485 ADC.
  243. To compile this driver as a module, choose M here: the module will be
  244. called ltc2485.
  245. config MAX1027
  246. tristate "Maxim max1027 ADC driver"
  247. depends on SPI
  248. select IIO_BUFFER
  249. select IIO_TRIGGERED_BUFFER
  250. help
  251. Say yes here to build support for Maxim SPI ADC models
  252. max1027, max1029 and max1031.
  253. To compile this driver as a module, choose M here: the module will be
  254. called max1027.
  255. config MAX1363
  256. tristate "Maxim max1363 ADC driver"
  257. depends on I2C
  258. select IIO_BUFFER
  259. select IIO_TRIGGERED_BUFFER
  260. help
  261. Say yes here to build support for many Maxim i2c analog to digital
  262. converters (ADC). (max1361, max1362, max1363, max1364, max1036,
  263. max1037, max1038, max1039, max1136, max1136, max1137, max1138,
  264. max1139, max1236, max1237, max11238, max1239, max11600, max11601,
  265. max11602, max11603, max11604, max11605, max11606, max11607,
  266. max11608, max11609, max11610, max11611, max11612, max11613,
  267. max11614, max11615, max11616, max11617, max11644, max11645,
  268. max11646, max11647) Provides direct access via sysfs and buffered
  269. data via the iio dev interface.
  270. To compile this driver as a module, choose M here: the module will be
  271. called max1363.
  272. config MCP320X
  273. tristate "Microchip Technology MCP3x01/02/04/08"
  274. depends on SPI
  275. help
  276. Say yes here to build support for Microchip Technology's
  277. MCP3001, MCP3002, MCP3004, MCP3008, MCP3201, MCP3202, MCP3204,
  278. MCP3208 or MCP3301 analog to digital converter.
  279. This driver can also be built as a module. If so, the module will be
  280. called mcp320x.
  281. config MCP3422
  282. tristate "Microchip Technology MCP3421/2/3/4/5/6/7/8 driver"
  283. depends on I2C
  284. help
  285. Say yes here to build support for Microchip Technology's MCP3421
  286. MCP3422, MCP3423, MCP3424, MCP3425, MCP3426, MCP3427 or MCP3428
  287. analog to digital converters.
  288. This driver can also be built as a module. If so, the module will be
  289. called mcp3422.
  290. config MEDIATEK_MT6577_AUXADC
  291. tristate "MediaTek AUXADC driver"
  292. depends on ARCH_MEDIATEK || COMPILE_TEST
  293. depends on HAS_IOMEM
  294. help
  295. Say yes here to enable support for MediaTek mt65xx AUXADC.
  296. The driver supports immediate mode operation to read from one of sixteen
  297. channels (external or internal).
  298. This driver can also be built as a module. If so, the module will be
  299. called mt6577_auxadc.
  300. config MEN_Z188_ADC
  301. tristate "MEN 16z188 ADC IP Core support"
  302. depends on MCB
  303. help
  304. Say yes here to enable support for the MEN 16z188 ADC IP-Core on a MCB
  305. carrier.
  306. This driver can also be built as a module. If so, the module will be
  307. called men_z188_adc.
  308. config MXS_LRADC
  309. tristate "Freescale i.MX23/i.MX28 LRADC"
  310. depends on (ARCH_MXS || COMPILE_TEST) && HAS_IOMEM
  311. depends on INPUT
  312. select STMP_DEVICE
  313. select IIO_BUFFER
  314. select IIO_TRIGGERED_BUFFER
  315. help
  316. Say yes here to build support for i.MX23/i.MX28 LRADC convertor
  317. built into these chips.
  318. To compile this driver as a module, choose M here: the
  319. module will be called mxs-lradc.
  320. config NAU7802
  321. tristate "Nuvoton NAU7802 ADC driver"
  322. depends on I2C
  323. help
  324. Say yes here to build support for Nuvoton NAU7802 ADC.
  325. To compile this driver as a module, choose M here: the
  326. module will be called nau7802.
  327. config PALMAS_GPADC
  328. tristate "TI Palmas General Purpose ADC"
  329. depends on MFD_PALMAS
  330. help
  331. Palmas series pmic chip by Texas Instruments (twl6035/6037)
  332. is used in smartphones and tablets and supports a 16 channel
  333. general purpose ADC.
  334. config QCOM_SPMI_IADC
  335. tristate "Qualcomm SPMI PMIC current ADC"
  336. depends on SPMI
  337. select REGMAP_SPMI
  338. help
  339. This is the IIO Current ADC driver for Qualcomm QPNP IADC Chip.
  340. The driver supports single mode operation to read from one of two
  341. channels (external or internal). Hardware have additional
  342. channels internally used for gain and offset calibration.
  343. To compile this driver as a module, choose M here: the module will
  344. be called qcom-spmi-iadc.
  345. config QCOM_SPMI_VADC
  346. tristate "Qualcomm SPMI PMIC voltage ADC"
  347. depends on SPMI
  348. select REGMAP_SPMI
  349. help
  350. This is the IIO Voltage ADC driver for Qualcomm QPNP VADC Chip.
  351. The driver supports multiple channels read. The VADC is a 15-bit
  352. sigma-delta ADC. Some of the channels are internally used for
  353. calibration.
  354. To compile this driver as a module, choose M here: the module will
  355. be called qcom-spmi-vadc.
  356. config ROCKCHIP_SARADC
  357. tristate "Rockchip SARADC driver"
  358. depends on ARCH_ROCKCHIP || (ARM && COMPILE_TEST)
  359. depends on RESET_CONTROLLER
  360. help
  361. Say yes here to build support for the SARADC found in SoCs from
  362. Rockchip.
  363. To compile this driver as a module, choose M here: the
  364. module will be called rockchip_saradc.
  365. config STM32_ADC_CORE
  366. tristate "STMicroelectronics STM32 adc core"
  367. depends on ARCH_STM32 || COMPILE_TEST
  368. depends on OF
  369. depends on REGULATOR
  370. help
  371. Select this option to enable the core driver for STMicroelectronics
  372. STM32 analog-to-digital converter (ADC).
  373. This driver can also be built as a module. If so, the module
  374. will be called stm32-adc-core.
  375. config STM32_ADC
  376. tristate "STMicroelectronics STM32 adc"
  377. depends on STM32_ADC_CORE
  378. help
  379. Say yes here to build support for STMicroelectronics stm32 Analog
  380. to Digital Converter (ADC).
  381. This driver can also be built as a module. If so, the module
  382. will be called stm32-adc.
  383. config STX104
  384. tristate "Apex Embedded Systems STX104 driver"
  385. depends on X86 && ISA_BUS_API
  386. select GPIOLIB
  387. help
  388. Say yes here to build support for the Apex Embedded Systems STX104
  389. integrated analog PC/104 card.
  390. This driver supports the 16 channels of single-ended (8 channels of
  391. differential) analog inputs, 2 channels of analog output, 4 digital
  392. inputs, and 4 digital outputs provided by the STX104.
  393. The base port addresses for the devices may be configured via the base
  394. array module parameter.
  395. config TI_ADC081C
  396. tristate "Texas Instruments ADC081C/ADC101C/ADC121C family"
  397. depends on I2C
  398. select IIO_BUFFER
  399. select IIO_TRIGGERED_BUFFER
  400. help
  401. If you say yes here you get support for Texas Instruments ADC081C,
  402. ADC101C and ADC121C ADC chips.
  403. This driver can also be built as a module. If so, the module will be
  404. called ti-adc081c.
  405. config TI_ADC0832
  406. tristate "Texas Instruments ADC0831/ADC0832/ADC0834/ADC0838"
  407. depends on SPI
  408. select IIO_BUFFER
  409. select IIO_TRIGGERED_BUFFER
  410. help
  411. If you say yes here you get support for Texas Instruments ADC0831,
  412. ADC0832, ADC0834, ADC0838 ADC chips.
  413. This driver can also be built as a module. If so, the module will be
  414. called ti-adc0832.
  415. config TI_ADC12138
  416. tristate "Texas Instruments ADC12130/ADC12132/ADC12138"
  417. depends on SPI
  418. select IIO_BUFFER
  419. select IIO_TRIGGERED_BUFFER
  420. help
  421. If you say yes here you get support for Texas Instruments ADC12130,
  422. ADC12132 and ADC12138 chips.
  423. This driver can also be built as a module. If so, the module will be
  424. called ti-adc12138.
  425. config TI_ADC128S052
  426. tristate "Texas Instruments ADC128S052/ADC122S021/ADC124S021"
  427. depends on SPI
  428. help
  429. If you say yes here you get support for Texas Instruments ADC128S052,
  430. ADC122S021 and ADC124S021 chips.
  431. This driver can also be built as a module. If so, the module will be
  432. called ti-adc128s052.
  433. config TI_ADC161S626
  434. tristate "Texas Instruments ADC161S626 1-channel differential ADC"
  435. depends on SPI
  436. select IIO_BUFFER
  437. select IIO_TRIGGERED_BUFFER
  438. help
  439. If you say yes here you get support for Texas Instruments ADC141S626,
  440. and ADC161S626 chips.
  441. This driver can also be built as a module. If so, the module will be
  442. called ti-adc161s626.
  443. config TI_ADS1015
  444. tristate "Texas Instruments ADS1015 ADC"
  445. depends on I2C && !SENSORS_ADS1015
  446. select REGMAP_I2C
  447. select IIO_BUFFER
  448. select IIO_TRIGGERED_BUFFER
  449. help
  450. If you say yes here you get support for Texas Instruments ADS1015
  451. ADC chip.
  452. This driver can also be built as a module. If so, the module will be
  453. called ti-ads1015.
  454. config TI_ADS8688
  455. tristate "Texas Instruments ADS8688"
  456. depends on SPI && OF
  457. help
  458. If you say yes here you get support for Texas Instruments ADS8684 and
  459. and ADS8688 ADC chips
  460. This driver can also be built as a module. If so, the module will be
  461. called ti-ads8688.
  462. config TI_AM335X_ADC
  463. tristate "TI's AM335X ADC driver"
  464. depends on MFD_TI_AM335X_TSCADC && HAS_DMA
  465. select IIO_BUFFER
  466. select IIO_KFIFO_BUF
  467. help
  468. Say yes here to build support for Texas Instruments ADC
  469. driver which is also a MFD client.
  470. To compile this driver as a module, choose M here: the module will be
  471. called ti_am335x_adc.
  472. config TWL4030_MADC
  473. tristate "TWL4030 MADC (Monitoring A/D Converter)"
  474. depends on TWL4030_CORE
  475. help
  476. This driver provides support for Triton TWL4030-MADC. The
  477. driver supports both RT and SW conversion methods.
  478. This driver can also be built as a module. If so, the module will be
  479. called twl4030-madc.
  480. config TWL6030_GPADC
  481. tristate "TWL6030 GPADC (General Purpose A/D Converter) Support"
  482. depends on TWL4030_CORE
  483. default n
  484. help
  485. Say yes here if you want support for the TWL6030/TWL6032 General
  486. Purpose A/D Converter. This will add support for battery type
  487. detection, battery voltage and temperature measurement, die
  488. temperature measurement, system supply voltage, audio accessory,
  489. USB ID detection.
  490. This driver can also be built as a module. If so, the module will be
  491. called twl6030-gpadc.
  492. config VF610_ADC
  493. tristate "Freescale vf610 ADC driver"
  494. depends on OF
  495. depends on HAS_IOMEM
  496. select IIO_BUFFER
  497. select IIO_TRIGGERED_BUFFER
  498. help
  499. Say yes here to support for Vybrid board analog-to-digital converter.
  500. Since the IP is used for i.MX6SLX, the driver also support i.MX6SLX.
  501. This driver can also be built as a module. If so, the module will be
  502. called vf610_adc.
  503. config VIPERBOARD_ADC
  504. tristate "Viperboard ADC support"
  505. depends on MFD_VIPERBOARD && USB
  506. help
  507. Say yes here to access the ADC part of the Nano River
  508. Technologies Viperboard.
  509. To compile this driver as a module, choose M here: the module will be
  510. called viperboard_adc.
  511. config XILINX_XADC
  512. tristate "Xilinx XADC driver"
  513. depends on ARCH_ZYNQ || MICROBLAZE || COMPILE_TEST
  514. depends on HAS_IOMEM
  515. select IIO_BUFFER
  516. select IIO_TRIGGERED_BUFFER
  517. help
  518. Say yes here to have support for the Xilinx XADC. The driver does support
  519. both the ZYNQ interface to the XADC as well as the AXI-XADC interface.
  520. The driver can also be build as a module. If so, the module will be called
  521. xilinx-xadc.
  522. endmenu