drivers: add new audio dai driver interface

The DAI (digital audio interface) API is a high level audio driver
abstraction. It provides support for the standard I2S (SSP), DMIC, HDA
and SDW backends. The API has a config function with bespoke data
argument for device/vendor specific config. There are also optional
timestamping functions to get device specific audio clock time.

Signed-off-by: Jaska Uimonen <jaska.uimonen@linux.intel.com>
This commit is contained in:
Jaska Uimonen 2022-01-14 14:05:30 +02:00 committed by Anas Nashif
commit 783a96a71b
4 changed files with 492 additions and 0 deletions

View file

@ -67,6 +67,11 @@ current :ref:`stability level <api_lifecycle>`.
- 2.3
- 2.3
* - :ref:`dai_api`
- Experimental
- 3.2
- 3.2
* - :ref:`dma_api`
- Stable
- 1.5

View file

@ -0,0 +1,23 @@
.. _dai_api:
DAI
####
Overview
********
The DAI (Digital Audio Interface) is a generic high level API for audio drivers.
It can be configured with bespoke data for vendor specific configuration.
Configuration Options
*********************
Related configuration options:
* :kconfig:option:`CONFIG_DAI`
API Reference
*************
.. doxygengroup:: dai_interface

View file

@ -9,3 +9,4 @@ Audio
codec.rst
dmic.rst
i2s.rst
dai.rst