Przemyslaw Marczak | e0cb85b | 2015-10-27 13:08:00 +0100 | [diff] [blame] | 1 | config ADC |
| 2 | bool "Enable ADC drivers using Driver Model" |
Jonas Karlman | 1d52512 | 2024-08-02 22:12:22 +0000 | [diff] [blame] | 3 | depends on DM |
Przemyslaw Marczak | e0cb85b | 2015-10-27 13:08:00 +0100 | [diff] [blame] | 4 | help |
| 5 | This enables ADC API for drivers, which allows driving ADC features |
| 6 | by single and multi-channel methods for: |
| 7 | - start/stop/get data for conversion of a single-channel selected by |
| 8 | a number or multi-channels selected by a bitmask |
| 9 | - get data mask (ADC resolution) |
| 10 | ADC reference Voltage supply options: |
| 11 | - methods for get Vdd/Vss reference Voltage values with polarity |
| 12 | - support supply's phandle with auto-enable |
| 13 | - supply polarity setting in fdt |
Przemyslaw Marczak | d8c1562 | 2015-10-27 13:08:01 +0100 | [diff] [blame] | 14 | |
Jonas Karlman | 1d52512 | 2024-08-02 22:12:22 +0000 | [diff] [blame] | 15 | config SPL_ADC |
| 16 | bool "Enable ADC drivers using Driver Model in SPL" |
| 17 | depends on SPL_DM |
| 18 | |
Przemyslaw Marczak | d8c1562 | 2015-10-27 13:08:01 +0100 | [diff] [blame] | 19 | config ADC_EXYNOS |
| 20 | bool "Enable Exynos 54xx ADC driver" |
Quentin Schulz | f764764 | 2024-03-14 10:36:27 +0100 | [diff] [blame] | 21 | depends on ADC |
Przemyslaw Marczak | d8c1562 | 2015-10-27 13:08:01 +0100 | [diff] [blame] | 22 | help |
| 23 | This enables basic driver for Exynos ADC compatible with Exynos54xx. |
| 24 | It provides: |
| 25 | - 10 analog input channels |
| 26 | - 12-bit resolution |
| 27 | - 600 KSPS of sample rate |
Przemyslaw Marczak | 1bc7f23 | 2015-10-27 13:08:06 +0100 | [diff] [blame] | 28 | |
| 29 | config ADC_SANDBOX |
| 30 | bool "Enable Sandbox ADC test driver" |
Quentin Schulz | f764764 | 2024-03-14 10:36:27 +0100 | [diff] [blame] | 31 | depends on ADC |
Przemyslaw Marczak | 1bc7f23 | 2015-10-27 13:08:06 +0100 | [diff] [blame] | 32 | help |
| 33 | This enables driver for Sandbox ADC device emulation. |
| 34 | It provides: |
| 35 | - 4 analog input channels |
| 36 | - 16-bit resolution |
| 37 | - single and multi-channel conversion mode |
David Wu | f8d5bc7 | 2017-09-20 14:28:16 +0800 | [diff] [blame] | 38 | |
Neil Armstrong | 4c76ddc | 2018-04-23 16:19:23 +0200 | [diff] [blame] | 39 | config SARADC_MESON |
| 40 | bool "Enable Amlogic Meson SARADC driver" |
Quentin Schulz | f764764 | 2024-03-14 10:36:27 +0100 | [diff] [blame] | 41 | depends on ADC |
Neil Armstrong | 4c76ddc | 2018-04-23 16:19:23 +0200 | [diff] [blame] | 42 | imply REGMAP |
| 43 | help |
| 44 | This enables driver for Amlogic Meson SARADC. |
| 45 | It provides: |
| 46 | - 8 analog input channels |
| 47 | - 1O or 12 bits resolution |
| 48 | - Up to 1MSPS of sample rate |
| 49 | |
David Wu | f8d5bc7 | 2017-09-20 14:28:16 +0800 | [diff] [blame] | 50 | config SARADC_ROCKCHIP |
| 51 | bool "Enable Rockchip SARADC driver" |
Quentin Schulz | f764764 | 2024-03-14 10:36:27 +0100 | [diff] [blame] | 52 | depends on ADC |
David Wu | f8d5bc7 | 2017-09-20 14:28:16 +0800 | [diff] [blame] | 53 | help |
| 54 | This enables driver for Rockchip SARADC. |
| 55 | It provides: |
| 56 | - 2~6 analog input channels |
| 57 | - 1O or 12 bits resolution |
| 58 | - Up to 1MSPS of sample rate |
Fabrice Gasnier | 5a1da38 | 2018-07-24 16:31:31 +0200 | [diff] [blame] | 59 | |
| 60 | config STM32_ADC |
| 61 | bool "Enable STMicroelectronics STM32 ADC driver" |
| 62 | depends on ADC && (STM32H7 || ARCH_STM32MP) |
| 63 | help |
| 64 | This enables driver for STMicroelectronics STM32 analog-to-digital |
| 65 | converter (ADC). |
| 66 | A STM32 ADC block can be composed of several individual ADCs. |
| 67 | Each has its own private registers, but shares some resources: |
| 68 | - clock selection and prescaler |
| 69 | - voltage reference |
| 70 | - common registers area. |
| 71 | STM32 ADC driver is composed of: |
| 72 | - core driver to deal with common resources |
| 73 | - child driver to deal with individual ADC resources (declare ADC |
| 74 | device and associated channels, start/stop conversions) |
Luca Ellero | 841ebfb8 | 2023-07-05 14:56:16 +0200 | [diff] [blame] | 75 | |
| 76 | config ADC_IMX93 |
| 77 | bool "Enable NXP IMX93 ADC driver" |
Sébastien Szymanski | 8f68b28 | 2023-10-04 11:08:10 +0200 | [diff] [blame] | 78 | depends on ADC |
Luca Ellero | 841ebfb8 | 2023-07-05 14:56:16 +0200 | [diff] [blame] | 79 | help |
| 80 | This enables basic driver for NXP IMX93 ADC. |
| 81 | It provides: |
| 82 | - 4 analog input channels |
| 83 | - 12-bit resolution |