summaryrefslogtreecommitdiffstats
path: root/drivers/soundwire/Kconfig
diff options
context:
space:
mode:
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>2024-10-16 12:23:26 +0200
committerMark Brown <broonie@kernel.org>2024-10-17 19:42:12 +0200
commit0c673d2862534955241f339d7331f384b5ea44af (patch)
treea81dbc012e44b7b48c088651768b7de3c9490f42 /drivers/soundwire/Kconfig
parentASoC: SDCA: add initial module (diff)
downloadlinux-0c673d2862534955241f339d7331f384b5ea44af.tar.xz
linux-0c673d2862534955241f339d7331f384b5ea44af.zip
soundwire: slave: lookup SDCA version and functions
Use SDCA helpers to get the basic information and store it in the slave context. The information will be optionally be used in codec drivers to register sub-devices for each Function. When platforms are not based on ACPI the helpers do absolutely nothing. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com> Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com> Acked-by: Vinod Koul <vkoul@kernel.org> Link: https://patch.msgid.link/20241016102333.294448-5-yung-chuan.liao@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/soundwire/Kconfig')
-rw-r--r--drivers/soundwire/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/soundwire/Kconfig b/drivers/soundwire/Kconfig
index 4d8f3b7024ae..f66f869dff2e 100644
--- a/drivers/soundwire/Kconfig
+++ b/drivers/soundwire/Kconfig
@@ -6,6 +6,7 @@
menuconfig SOUNDWIRE
tristate "SoundWire support"
depends on ACPI || OF
+ depends on SND_SOC_SDCA_OPTIONAL
help
SoundWire is a 2-Pin interface with data and clock line ratified
by the MIPI Alliance. SoundWire is used for transporting data