]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: SDCA: add function devices
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Thu, 20 Nov 2025 15:30:20 +0000 (15:30 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 20 Nov 2025 17:22:59 +0000 (17:22 +0000)
commit4496d1c65bad7a3a32d2e09aaf3c54bc562c3fcc
treea27a5b5c68a836e5ff00d92c7ecf91f23042ef6d
parent5acf17b6df5e759bfb8bc0a75fadcbb3e363a17b
ASoC: SDCA: add function devices

Use the auxiliary bus to register/unregister subdevices for each
function. Each function will be handled with a separate driver,
matched using a name.

If a vendor wants to override a specific function driver, they could
use a custom name to match with a custom function driver.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Tested-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Maciej Strozek <mstrozek@opensource.cirrus.com>
Reviewed-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Tested-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://patch.msgid.link/20251120153023.2105663-12-ckeepax@opensource.cirrus.com
Reviewed-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/sdca.h
sound/soc/sdca/Kconfig
sound/soc/sdca/Makefile
sound/soc/sdca/sdca_function_device.c [new file with mode: 0644]
sound/soc/sdca/sdca_function_device.h [new file with mode: 0644]