diff options
author | Neil Armstrong <narmstrong@baylibre.com> | 2018-04-23 16:19:23 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-05-08 09:07:40 -0400 |
commit | 59beb238d5b0609bdb2457a7e66e72212369d44b (patch) | |
tree | 81bf3ed8f3b740a8977459d255c7ccb9a6aa6deb /drivers/adc/Kconfig | |
parent | e068512ca6c915325cbb6da00961adb07230f03f (diff) | |
download | u-boot-59beb238d5b0609bdb2457a7e66e72212369d44b.tar.gz |
adc: add Amlogic Meson SAR ADC driver
This patch adds the driver for the Amlogic Meson Successive Approximation
Register (SAR) A/D Converter based on the Linux IIO driver thanks to the
great work of Martin Blumenstingl.
The driver has been adapted to U-Boot and the ADC UClass.
This patch depends on the regmap "regmap: add regmap_update_bits() helper"
patch and has been tested using the newly introducted "adc" CLI command
in the "cmd: add ADC cli commands" patch.
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Diffstat (limited to 'drivers/adc/Kconfig')
-rw-r--r-- | drivers/adc/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/adc/Kconfig b/drivers/adc/Kconfig index 8094420548..93e27f131c 100644 --- a/drivers/adc/Kconfig +++ b/drivers/adc/Kconfig @@ -29,6 +29,16 @@ config ADC_SANDBOX - 16-bit resolution - single and multi-channel conversion mode +config SARADC_MESON + bool "Enable Amlogic Meson SARADC driver" + imply REGMAP + help + This enables driver for Amlogic Meson SARADC. + It provides: + - 8 analog input channels + - 1O or 12 bits resolution + - Up to 1MSPS of sample rate + config SARADC_ROCKCHIP bool "Enable Rockchip SARADC driver" help |