drivers: dai: Use dt_compat_enabled for Intel SSP driver default
Enables the Intel SSP driver by default when the DAI driver class is enabled (CONFIG_DAI=y) and a compatible devicetree node ("intel,ssp-dai") is enabled. Signed-off-by: Maureen Helm <maureen.helm@intel.com>
This commit is contained in:
parent
72a2ec253e
commit
f4a0854481
2 changed files with 3 additions and 1 deletions
|
@ -3,8 +3,11 @@
|
|||
# Copyright (c) 2022 Intel Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
DT_COMPAT_DAI_INTEL_SSP := intel,ssp-dai
|
||||
|
||||
config DAI_INTEL_SSP
|
||||
bool "Intel I2S (SSP) Bus Driver for Dai interface"
|
||||
default $(dt_compat_enabled,$(DT_COMPAT_DAI_INTEL_SSP))
|
||||
select DMA
|
||||
help
|
||||
Enable Inter Sound (I2S) bus driver based on
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
CONFIG_ZTEST=y
|
||||
CONFIG_DAI=y
|
||||
CONFIG_DAI_INTEL_SSP=y
|
||||
CONFIG_INTEL_MN=y
|
||||
CONFIG_DMA_DW_HOST_MASK=1
|
||||
CONFIG_HEAP_MEM_POOL_SIZE=512
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue