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:
parent
c0b7864840
commit
783a96a71b
4 changed files with 492 additions and 0 deletions
|
@ -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
|
||||
|
|
23
doc/hardware/peripherals/audio/dai.rst
Normal file
23
doc/hardware/peripherals/audio/dai.rst
Normal 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
|
|
@ -9,3 +9,4 @@ Audio
|
|||
codec.rst
|
||||
dmic.rst
|
||||
i2s.rst
|
||||
dai.rst
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue