Kconfig 17 KB

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