drivers: adc: Select HAS_DTS_ADC for all ADC drivers
To require relevant DTS entries on all platforms providing the ADC driver. Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
This commit is contained in:
parent
9e161a5a01
commit
62fcfb72d2
4 changed files with 3 additions and 4 deletions
|
@ -11,6 +11,9 @@
|
|||
#
|
||||
menuconfig ADC
|
||||
bool "ADC drivers"
|
||||
# All platforms that implement the ADC driver are now required to
|
||||
# provide relevant DTS entries.
|
||||
select HAS_DTS_ADC
|
||||
help
|
||||
Enable ADC (Analog to Digital Converter) driver configuration.
|
||||
|
||||
|
|
|
@ -9,6 +9,5 @@
|
|||
config ADC_MCUX_ADC16
|
||||
bool "MCUX ADC16 driver"
|
||||
depends on HAS_MCUX_ADC16
|
||||
select HAS_DTS_ADC
|
||||
help
|
||||
Enable the MCUX ADC16 driver.
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
config ADC_NRFX_ADC
|
||||
bool "nRF ADC nrfx driver"
|
||||
depends on HAS_HW_NRF_ADC
|
||||
select HAS_DTS_ADC
|
||||
select NRFX_ADC
|
||||
select ADC_CONFIGURABLE_INPUTS
|
||||
help
|
||||
|
@ -28,7 +27,6 @@ config ADC_NRFX_ADC_CHANNEL_COUNT
|
|||
config ADC_NRFX_SAADC
|
||||
bool "nRF SAADC nrfx driver"
|
||||
depends on HAS_HW_NRF_SAADC
|
||||
select HAS_DTS_ADC
|
||||
select ADC_CONFIGURABLE_INPUTS
|
||||
help
|
||||
Enable support for nrfx SAADC driver for nRF52 MCU series.
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
menuconfig ADC_SAM_AFEC
|
||||
bool "SAM ADC Driver"
|
||||
depends on SOC_FAMILY_SAM
|
||||
select HAS_DTS_ADC
|
||||
help
|
||||
Enable Atmel SAM MCU Family Analog-to-Digital Converter (ADC) driver
|
||||
based on AFEC module.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue