mbox series

[v2,0/2] Add generic FSL CPU DAI driver

Message ID 20200306111353.12906-1-daniel.baluta@oss.nxp.com (mailing list archive)
Headers show
Series Add generic FSL CPU DAI driver | expand

Message

Daniel Baluta (OSS) March 6, 2020, 11:13 a.m. UTC
From: Daniel Baluta <daniel.baluta@nxp.com>

On platforms with a DSP we need to split the resource handling between
Application Processor (AP) and DSP. On platforms where the DSP
doesn't have an easy access to resources, the AP will take care of
configuring them. Resources handled by this generic driver are:
clocks, power domains, pinctrl.

Changes since v1:
	- added dt-bindings patch
	- add missing signed-off-by
	- do not hardcode the name of DAI driver but derive it from
	newly introduced dai_index property.

Daniel Baluta (2):
  dt-bindings: sound: Add FSL CPU DAI bindings
  ASoC: fsl: Add generic CPU DAI driver

 .../devicetree/bindings/sound/fsl,dai.yaml    |  97 ++++++
 sound/soc/fsl/Kconfig                         |   8 +
 sound/soc/fsl/Makefile                        |   2 +
 sound/soc/fsl/fsl_dai.c                       | 288 ++++++++++++++++++
 4 files changed, 395 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/fsl,dai.yaml
 create mode 100644 sound/soc/fsl/fsl_dai.c