Przemyslaw Marczak | e0cb85b | 2015-10-27 13:08:00 +0100 | [diff] [blame] | 1 | config 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 Marczak | d8c1562 | 2015-10-27 13:08:01 +0100 | [diff] [blame] | 13 | |
| 14 | config 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 Marczak | 1bc7f23 | 2015-10-27 13:08:06 +0100 | [diff] [blame] | 22 | |
| 23 | config 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 Wu | f8d5bc7 | 2017-09-20 14:28:16 +0800 | [diff] [blame] | 31 | |
Neil Armstrong | 4c76ddc | 2018-04-23 16:19:23 +0200 | [diff] [blame] | 32 | config 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 Wu | f8d5bc7 | 2017-09-20 14:28:16 +0800 | [diff] [blame] | 42 | config 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 Gasnier | 5a1da38 | 2018-07-24 16:31:31 +0200 | [diff] [blame] | 50 | |
| 51 | config 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) |