mbox series

[00/10] Add SDCA DisCo parsing support

Message ID 20250205113801.3699902-1-ckeepax@opensource.cirrus.com (mailing list archive)
Headers show
Series Add SDCA DisCo parsing support | expand

Message

Charles Keepax Feb. 5, 2025, 11:37 a.m. UTC
The MIPI SoundWire Device Class for Audio (SDCA) specification defines
most details of the hardware in ACPI using the MIPI Discovery and
Configuration (DisCo) specification. This patch chain adds support for
parsing most of this information into the kernel such that future work
can make use of it to construct CODEC devices and soundcards.

The most notable outstanding work here, is parsing the separate
properties for the Control Numbers (roughly equivalent to channels)
within an individual Control. The separate Control Numbers are
supported but currently only the scheme were a single default etc. is
supplied for all.  This should not be super hard to add in the future
but isn't currently required by any of the hardware I am working to
support.

Thanks,
Charles

Charles Keepax (8):
  ASoC: SDCA: Minor formatting and naming tweaks
  ASoC: SDCA: Add support for Entity 0
  ASoC: SDCA: Add SDCA Control parsing
  ASoC: SDCA: Add parsing for Control range structures
  ASoC: SDCA: Add Channel Cluster parsing
  ASoC: SDCA: Add support for IT/OT Entity properties
  ASoC: SDCA: Add support for clock Entity properties
  ASoC: SDCA: Add support for PDE Entity properties

Pierre-Louis Bossart (2):
  ASoC: SDCA: Add code to parse Function information
  ASoC: SDCA: Parse initialization write table

 include/sound/sdca.h            |   22 +-
 include/sound/sdca_function.h   | 1089 +++++++++++++++++++++++-
 sound/soc/sdca/sdca_device.c    |    3 +-
 sound/soc/sdca/sdca_functions.c | 1407 ++++++++++++++++++++++++++++++-
 4 files changed, 2480 insertions(+), 41 deletions(-)