blob: e719c38bb31a7176ccddfaf51b1459c196fe47f4 [file] [log] [blame]
Przemyslaw Marczak5decbf52015-10-27 13:08:00 +01001config ADC
2 bool "Enable ADC drivers using Driver Model"
3 help
4 This enables ADC API for drivers, which allows driving ADC features
5 by single and multi-channel methods for:
6 - start/stop/get data for conversion of a single-channel selected by
7 a number or multi-channels selected by a bitmask
8 - get data mask (ADC resolution)
9 ADC reference Voltage supply options:
10 - methods for get Vdd/Vss reference Voltage values with polarity
11 - support supply's phandle with auto-enable
12 - supply polarity setting in fdt
Przemyslaw Marczak3b3ad902015-10-27 13:08:01 +010013
14config ADC_EXYNOS
15 bool "Enable Exynos 54xx ADC driver"
16 help
17 This enables basic driver for Exynos ADC compatible with Exynos54xx.
18 It provides:
19 - 10 analog input channels
20 - 12-bit resolution
21 - 600 KSPS of sample rate
Przemyslaw Marczak08d63002015-10-27 13:08:06 +010022
23config ADC_SANDBOX
24 bool "Enable Sandbox ADC test driver"
25 help
26 This enables driver for Sandbox ADC device emulation.
27 It provides:
28 - 4 analog input channels
29 - 16-bit resolution
30 - single and multi-channel conversion mode
David Wuae3ed042017-09-20 14:28:16 +080031
Neil Armstrong59beb232018-04-23 16:19:23 +020032config SARADC_MESON
33 bool "Enable Amlogic Meson SARADC driver"
34 imply REGMAP
35 help
36 This enables driver for Amlogic Meson SARADC.
37 It provides:
38 - 8 analog input channels
39 - 1O or 12 bits resolution
40 - Up to 1MSPS of sample rate
41
David Wuae3ed042017-09-20 14:28:16 +080042config SARADC_ROCKCHIP
43 bool "Enable Rockchip SARADC driver"
44 help
45 This enables driver for Rockchip SARADC.
46 It provides:
47 - 2~6 analog input channels
48 - 1O or 12 bits resolution
49 - Up to 1MSPS of sample rate
Fabrice Gasniera466ece2018-07-24 16:31:31 +020050
51config STM32_ADC
52 bool "Enable STMicroelectronics STM32 ADC driver"
53 depends on ADC && (STM32H7 || ARCH_STM32MP)
54 help
55 This enables driver for STMicroelectronics STM32 analog-to-digital
56 converter (ADC).
57 A STM32 ADC block can be composed of several individual ADCs.
58 Each has its own private registers, but shares some resources:
59 - clock selection and prescaler
60 - voltage reference
61 - common registers area.
62 STM32 ADC driver is composed of:
63 - core driver to deal with common resources
64 - child driver to deal with individual ADC resources (declare ADC
65 device and associated channels, start/stop conversions)