drivers: dai: add ALH dai driver

The ALH is an intermediary device, which acts as a hub and provides an
abstracted support for numerous sound interfaces (e.g. SoundWire).

Signed-off-by: Adrian Bonislawski <adrian.bonislawski@intel.com>
This commit is contained in:
Adrian Bonislawski 2022-04-25 09:53:18 +02:00 committed by Carles Cufí
commit 638cfbbdbf
9 changed files with 452 additions and 0 deletions

View file

@ -0,0 +1,24 @@
# SOF ALH configuration options
# Copyright (c) 2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
DT_COMPAT_INTEL_ALH_DAI := intel,alh-dai
config DAI_INTEL_ALH
bool "Intel ALH driver for Dai interface"
default $(dt_compat_enabled,$(DT_COMPAT_INTEL_ALH_DAI))
select DMA
help
Select this to enable Intel ALH driver.
The ALH is an intermediary device, which acts as a hub and provides an
abstracted support for numerous sound interfaces (e.g. SoundWire).
if DAI_INTEL_ALH
config DAI_ALH_HAS_OWNERSHIP
bool "Intel ALH driver has ownership"
help
Select this to enable programming HW ownership
endif