ASoC: SDCA: Add code to parse Function information
authorPierre-Louis Bossart <pierre-louis.bossart@linux.dev>
Wed, 5 Feb 2025 11:37:53 +0000 (11:37 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 7 Feb 2025 17:34:01 +0000 (17:34 +0000)
commit996bf834d0b61cb5a1389356c1ed7db1230139d7
tree097424ed5539ad2905a2b81ec7cac9613fa95ee7
parent629dd55cf77bd3a8f80049150d3c05fef6d3b468
ASoC: SDCA: Add code to parse Function information

Add a helper function to parse all the Function and Entity
information from ACPI. In SDCA each device may have several Functions
and each corresponds to a specific audio capability such as say
amplifier playback or microphone capture. Each Function then contains
a number of Entities that represent individual parts of the audio
signal chain and are linked together in a graph similar to DAPM.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.dev>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.dev>
Link: https://patch.msgid.link/20250205113801.3699902-3-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/sdca.h
include/sound/sdca_function.h
sound/soc/sdca/sdca_functions.c