summaryrefslogtreecommitdiff
path: root/drivers/adc/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/adc/Kconfig')
-rw-r--r--drivers/adc/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/adc/Kconfig b/drivers/adc/Kconfig
index c9cdbe6942d..37235f557a3 100644
--- a/drivers/adc/Kconfig
+++ b/drivers/adc/Kconfig
@@ -1,5 +1,6 @@
config ADC
bool "Enable ADC drivers using Driver Model"
+ depends on DM
help
This enables ADC API for drivers, which allows driving ADC features
by single and multi-channel methods for:
@@ -11,6 +12,10 @@ config ADC
- support supply's phandle with auto-enable
- supply polarity setting in fdt
+config SPL_ADC
+ bool "Enable ADC drivers using Driver Model in SPL"
+ depends on SPL_DM
+
config ADC_EXYNOS
bool "Enable Exynos 54xx ADC driver"
depends on ADC