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:
Maureen Helm 2022-04-25 11:29:28 -05:00 committed by Carles Cufí
commit f4a0854481
2 changed files with 3 additions and 1 deletions

View file

@ -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