Add DAPM/ASoC helpers to create SDCA drivers
authorMark Brown <broonie@kernel.org>
Wed, 21 May 2025 17:01:20 +0000 (18:01 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 21 May 2025 17:01:20 +0000 (18:01 +0100)
commit0d2992d30af6a9d4e38e8471e02e0e1d205e10a7
tree5954041087a2431cb5e8d3c3f236ee25432a81f5
parent828497fba7b855243826bd96531920dc6bb93ec9
parent108f878d435437f649da32dea9f0d4f684eba3ba
Add DAPM/ASoC helpers to create SDCA drivers

Merge series from Charles Keepax <ckeepax@opensource.cirrus.com>:

Add helper functions to add DAPM widgets, routes, ALSA controls,
and DAI drivers, these will be used to create SDCA function device
drivers.

This series should provide most of the core functionality needed to
get a device registered and have a working DAPM graph within the
device. There are some features that still need additional work, these
are marked with FIXMEs in the code. The two main things are SDCA
Clock Muxes (not used in our devices and needs some ASoC core work),
and better support for more complex SDCA volume control definitions
(our parts have fairly simple volumes, and SDCA has a large amount of
flexibility in how the volume control is specified).

The next steps in the process are to add helpers for the DAI ops
themselves, some IRQ handling, and firmware download. And finally we
should be able to actually add the SDCA class driver itself.