adc: Move to using select in Kconfig for I2C & SPI busses
Move to using 'select SPI'/'select I2C' instead of 'depends on'
(see commit df81fef944
for more
details)
Signed-off-by: Kumar Gala <galak@kernel.org>
This commit is contained in:
parent
2169a09d8a
commit
e438da8a36
|
@ -7,7 +7,7 @@ config ADC_ADS1119
|
||||||
bool "Texas instruments ADS1119 I2C"
|
bool "Texas instruments ADS1119 I2C"
|
||||||
default y
|
default y
|
||||||
depends on DT_HAS_TI_ADS1119_ENABLED
|
depends on DT_HAS_TI_ADS1119_ENABLED
|
||||||
depends on I2C
|
select I2C
|
||||||
select ADC_CONFIGURABLE_INPUTS
|
select ADC_CONFIGURABLE_INPUTS
|
||||||
help
|
help
|
||||||
Enable the driver implementation for the ADS1119
|
Enable the driver implementation for the ADS1119
|
||||||
|
|
|
@ -11,7 +11,7 @@ config ADC_ADS1X1X
|
||||||
DT_HAS_TI_ADS1114_ENABLED || DT_HAS_TI_ADS1115_ENABLED || \
|
DT_HAS_TI_ADS1114_ENABLED || DT_HAS_TI_ADS1115_ENABLED || \
|
||||||
DT_HAS_TI_ADS1119_ENABLED
|
DT_HAS_TI_ADS1119_ENABLED
|
||||||
|
|
||||||
depends on I2C
|
select I2C
|
||||||
select ADC_CONFIGURABLE_INPUTS
|
select ADC_CONFIGURABLE_INPUTS
|
||||||
help
|
help
|
||||||
Enable ADS1X1X ADC driver.
|
Enable ADS1X1X ADC driver.
|
||||||
|
|
|
@ -10,7 +10,7 @@ config ADC_LMP90XXX
|
||||||
DT_HAS_TI_LMP90079_ENABLED || DT_HAS_TI_LMP90080_ENABLED || \
|
DT_HAS_TI_LMP90079_ENABLED || DT_HAS_TI_LMP90080_ENABLED || \
|
||||||
DT_HAS_TI_LMP90097_ENABLED || DT_HAS_TI_LMP90098_ENABLED || \
|
DT_HAS_TI_LMP90097_ENABLED || DT_HAS_TI_LMP90098_ENABLED || \
|
||||||
DT_HAS_TI_LMP90099_ENABLED || DT_HAS_TI_LMP90100_ENABLED
|
DT_HAS_TI_LMP90099_ENABLED || DT_HAS_TI_LMP90100_ENABLED
|
||||||
depends on SPI
|
select SPI
|
||||||
select ADC_CONFIGURABLE_INPUTS
|
select ADC_CONFIGURABLE_INPUTS
|
||||||
help
|
help
|
||||||
Enable LMP90xxx ADC driver.
|
Enable LMP90xxx ADC driver.
|
||||||
|
|
|
@ -7,7 +7,7 @@ config ADC_MCP320X
|
||||||
bool "MCP3204/MCP3208 driver"
|
bool "MCP3204/MCP3208 driver"
|
||||||
default y
|
default y
|
||||||
depends on DT_HAS_MICROCHIP_MCP3204_ENABLED || DT_HAS_MICROCHIP_MCP3208_ENABLED
|
depends on DT_HAS_MICROCHIP_MCP3204_ENABLED || DT_HAS_MICROCHIP_MCP3208_ENABLED
|
||||||
depends on SPI
|
select SPI
|
||||||
help
|
help
|
||||||
Enable MCP3204/MCP3208 ADC driver.
|
Enable MCP3204/MCP3208 ADC driver.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue