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" |
Quentin Schulz | f764764 | 2024-03-14 10:36:27 +0100 | [diff] [blame] | 16 | depends on ADC |
Przemyslaw Marczak | d8c1562 | 2015-10-27 13:08:01 +0100 | [diff] [blame] | 17 | help |
| 18 | This enables basic driver for Exynos ADC compatible with Exynos54xx. |
| 19 | It provides: |
| 20 | - 10 analog input channels |
| 21 | - 12-bit resolution |
| 22 | - 600 KSPS of sample rate |
Przemyslaw Marczak | 1bc7f23 | 2015-10-27 13:08:06 +0100 | [diff] [blame] | 23 | |
| 24 | config ADC_SANDBOX |
| 25 | bool "Enable Sandbox ADC test driver" |
Quentin Schulz | f764764 | 2024-03-14 10:36:27 +0100 | [diff] [blame] | 26 | depends on ADC |
Przemyslaw Marczak | 1bc7f23 | 2015-10-27 13:08:06 +0100 | [diff] [blame] | 27 | help |
| 28 | This enables driver for Sandbox ADC device emulation. |
| 29 | It provides: |
| 30 | - 4 analog input channels |
| 31 | - 16-bit resolution |
| 32 | - single and multi-channel conversion mode |
David Wu | f8d5bc7 | 2017-09-20 14:28:16 +0800 | [diff] [blame] | 33 | |
Neil Armstrong | 4c76ddc | 2018-04-23 16:19:23 +0200 | [diff] [blame] | 34 | config SARADC_MESON |
| 35 | bool "Enable Amlogic Meson SARADC driver" |
Quentin Schulz | f764764 | 2024-03-14 10:36:27 +0100 | [diff] [blame] | 36 | depends on ADC |
Neil Armstrong | 4c76ddc | 2018-04-23 16:19:23 +0200 | [diff] [blame] | 37 | imply REGMAP |
| 38 | help |
| 39 | This enables driver for Amlogic Meson SARADC. |
| 40 | It provides: |
| 41 | - 8 analog input channels |
| 42 | - 1O or 12 bits resolution |
| 43 | - Up to 1MSPS of sample rate |
| 44 | |
David Wu | f8d5bc7 | 2017-09-20 14:28:16 +0800 | [diff] [blame] | 45 | config SARADC_ROCKCHIP |
| 46 | bool "Enable Rockchip SARADC driver" |
Quentin Schulz | f764764 | 2024-03-14 10:36:27 +0100 | [diff] [blame] | 47 | depends on ADC |
David Wu | f8d5bc7 | 2017-09-20 14:28:16 +0800 | [diff] [blame] | 48 | help |
| 49 | This enables driver for Rockchip SARADC. |
| 50 | It provides: |
| 51 | - 2~6 analog input channels |
| 52 | - 1O or 12 bits resolution |
| 53 | - Up to 1MSPS of sample rate |
Fabrice Gasnier | 5a1da38 | 2018-07-24 16:31:31 +0200 | [diff] [blame] | 54 | |
| 55 | config STM32_ADC |
| 56 | bool "Enable STMicroelectronics STM32 ADC driver" |
| 57 | depends on ADC && (STM32H7 || ARCH_STM32MP) |
| 58 | help |
| 59 | This enables driver for STMicroelectronics STM32 analog-to-digital |
| 60 | converter (ADC). |
| 61 | A STM32 ADC block can be composed of several individual ADCs. |
| 62 | Each has its own private registers, but shares some resources: |
| 63 | - clock selection and prescaler |
| 64 | - voltage reference |
| 65 | - common registers area. |
| 66 | STM32 ADC driver is composed of: |
| 67 | - core driver to deal with common resources |
| 68 | - child driver to deal with individual ADC resources (declare ADC |
| 69 | device and associated channels, start/stop conversions) |
Luca Ellero | 841ebfb8 | 2023-07-05 14:56:16 +0200 | [diff] [blame] | 70 | |
| 71 | config ADC_IMX93 |
| 72 | bool "Enable NXP IMX93 ADC driver" |
Sébastien Szymanski | 8f68b28 | 2023-10-04 11:08:10 +0200 | [diff] [blame] | 73 | depends on ADC |
Luca Ellero | 841ebfb8 | 2023-07-05 14:56:16 +0200 | [diff] [blame] | 74 | help |
| 75 | This enables basic driver for NXP IMX93 ADC. |
| 76 | It provides: |
| 77 | - 4 analog input channels |
| 78 | - 12-bit resolution |