]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: SDCA: Create DAI drivers from DisCo
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Fri, 16 May 2025 13:10:11 +0000 (14:10 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 20 May 2025 10:15:40 +0000 (11:15 +0100)
commit108f878d435437f649da32dea9f0d4f684eba3ba
treef3250be90be7cd886bd6bba501b991c28ccfd916
parentc3ca24e3fcb656c6afe702b69e6e9efcc3ff1128
ASoC: SDCA: Create DAI drivers from DisCo

Use the previously parsed DisCo information from ACPI to create the DAI
drivers required to connect an SDCA Function into an ASoC soundcard.

Create DAI driver structures and populate the supported sample rates
and sample widths into them based on the Input/Output Terminal and any
attach Clock Source entities. More complex relationships with channels
etc. will be added later as constraints as part of the DAI startup.

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