From 18a1db193d579426bc2c3a421a91ecb10e784219 Mon Sep 17 00:00:00 2001 From: Kumar Gala Date: Thu, 11 Aug 2022 22:56:46 -0500 Subject: [PATCH] drivers: dac: Update Kconfig for 'select I2C/SPI' * Move to using 'select I2C/SPI' instead of 'depends on' (see commit df81fef94483da9f2811d48088affbcfd61ab18c for more details) Signed-off-by: Kumar Gala --- drivers/dac/Kconfig.dacx0508 | 2 +- drivers/dac/Kconfig.dacx3608 | 2 +- drivers/dac/Kconfig.mcp4725 | 2 +- drivers/dac/Kconfig.mcp4728 | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/dac/Kconfig.dacx0508 b/drivers/dac/Kconfig.dacx0508 index 7e9cb8698e..cf0f9dd79d 100644 --- a/drivers/dac/Kconfig.dacx0508 +++ b/drivers/dac/Kconfig.dacx0508 @@ -7,7 +7,7 @@ config DAC_DACX0508 bool "TI DACx0508 DAC driver" default y - depends on SPI + select SPI depends on DT_HAS_TI_DAC60508_ENABLED || DT_HAS_TI_DAC70508_ENABLED || \ DT_HAS_TI_DAC80508_ENABLED help diff --git a/drivers/dac/Kconfig.dacx3608 b/drivers/dac/Kconfig.dacx3608 index 3ed3801207..fdda97fe15 100644 --- a/drivers/dac/Kconfig.dacx3608 +++ b/drivers/dac/Kconfig.dacx3608 @@ -7,7 +7,7 @@ config DAC_DACX3608 bool "TI DACX3608 DAC driver" default y - depends on I2C + select I2C depends on DT_HAS_TI_DAC43608_ENABLED || DT_HAS_TI_DAC53608_ENABLED help Enable the driver for the TI DACX3608. diff --git a/drivers/dac/Kconfig.mcp4725 b/drivers/dac/Kconfig.mcp4725 index 91b65ae9f3..e6bb53854b 100644 --- a/drivers/dac/Kconfig.mcp4725 +++ b/drivers/dac/Kconfig.mcp4725 @@ -7,7 +7,7 @@ config DAC_MCP4725 bool "Microchip MCP4725 DAC driver" default y - depends on I2C + select I2C depends on DT_HAS_MICROCHIP_MCP4725_ENABLED help Enable the driver for the Microchip MCP4725. diff --git a/drivers/dac/Kconfig.mcp4728 b/drivers/dac/Kconfig.mcp4728 index 619bd11461..ed263b0fb7 100644 --- a/drivers/dac/Kconfig.mcp4728 +++ b/drivers/dac/Kconfig.mcp4728 @@ -5,7 +5,7 @@ config DAC_MCP4728 bool "Microchip MCP4728 DAC driver" default y - depends on I2C + select I2C depends on DT_HAS_MICROCHIP_MCP4728_ENABLED help Enable driver for the Microchip MCP4728.