drivers: i2s: Update drivers to use devicetree Kconfig symbol
Update I2S drivers to use DT_HAS_<compat>_ENABLED Kconfig symbol to expose the driver and enable it by default based on devicetree. We remove 'depend on' Kconfig for symbols that would be implied by the devicetree node existing. Signed-off-by: Kumar Gala <galak@kernel.org>
This commit is contained in:
parent
8a730b818b
commit
324ee290f8
|
@ -6,7 +6,8 @@
|
|||
|
||||
menuconfig I2S_LITEX
|
||||
bool "Litex I2S driver"
|
||||
depends on SOC_RISCV32_LITEX_VEXRISCV
|
||||
default y
|
||||
depends on DT_HAS_LITEX_I2S_ENABLED
|
||||
help
|
||||
Enable Litex Inter Sound (I2S) bus driver.
|
||||
|
||||
|
|
|
@ -5,7 +5,8 @@
|
|||
|
||||
menuconfig I2S_MCUX_SAI
|
||||
bool "NXP MCUX I2S controller driver"
|
||||
depends on HAS_MCUX_I2S
|
||||
default y
|
||||
depends on DT_HAS_NXP_MCUX_I2S_ENABLED
|
||||
select DMA
|
||||
help
|
||||
Enable I2S support on the I.MX family of processors.
|
||||
|
|
|
@ -3,7 +3,8 @@
|
|||
|
||||
config I2S_MCUX_FLEXCOMM
|
||||
bool "MCUX FLEXCOMM I2S driver"
|
||||
depends on HAS_MCUX_FLEXCOMM
|
||||
default y
|
||||
depends on DT_HAS_NXP_LPC_I2S_ENABLED
|
||||
select DMA
|
||||
help
|
||||
Enable support for mcux flexcomm i2s driver.
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
|
||||
menuconfig I2S_NRFX
|
||||
bool "nRF I2S nrfx driver"
|
||||
depends on HAS_HW_NRF_I2S
|
||||
default y
|
||||
depends on DT_HAS_NORDIC_NRF_I2S_ENABLED
|
||||
select NRFX_I2S
|
||||
help
|
||||
Enable support for nrfx I2S driver for nRF MCU series.
|
||||
|
|
|
@ -5,7 +5,8 @@
|
|||
|
||||
menuconfig I2S_SAM_SSC
|
||||
bool "Atmel SAM MCU family I2S (SSC) Bus Driver"
|
||||
depends on SOC_FAMILY_SAM
|
||||
default y
|
||||
depends on DT_HAS_ATMEL_SAM_SSC_ENABLED
|
||||
select DMA
|
||||
help
|
||||
Enable Inter Sound (I2S) bus driver for Atmel SAM MCU family based on
|
||||
|
|
|
@ -5,7 +5,8 @@
|
|||
|
||||
menuconfig I2S_STM32
|
||||
bool "STM32 MCU I2S controller driver"
|
||||
depends on SOC_SERIES_STM32F4X
|
||||
default y
|
||||
depends on DT_HAS_ST_STM32_I2S_ENABLED
|
||||
select DMA
|
||||
help
|
||||
Enable I2S support on the STM32 family of processors.
|
||||
|
|
Loading…
Reference in a new issue