soc_tplg_dai_config(9)
π soc_tplg_dai_config(9) π
okay so this is a page from the Kernel API Manual, and honestly? it's a little cutie. it does one (1) thing and it does it well. let's get into it π«Ά
β¨ NAME β¨
soc_tplg_dai_config β find and configure an existing physical DAI. that's it, that's the whole job. no cap π
β¨ SYNOPSIS β¨
int soc_tplg_dai_config (struct soc_tplg *tplg , struct snd_soc_tplg_dai
*d );
literally just one function call, bestie. she's compact, she's iconic π
β¨ ARGUMENTS β¨
tplgβ the topology context. yep, the whole vibe of the thing, passed straight in πΈdβ physical DAI configs. the actual deets she's gonna work with π
β¨ DESCRIPTION β¨
so here's the tea β β the physical DAI should already be registered by the platform driver. like, this function is not out here creating DAIs from scratch, she's not building anything, she's just finding one that already exists and configuring it. main character energy but make it support role, yk?
and for the matching to actually work? the platform driver should specify the DAI name and ID. that's the whole vibe check β name + ID is how she knows which DAI is her DAI. no name and ID, no match. iykyk π
β¨ SEE ALSO β¨
- the kernel file
./sound/soc/soc-topology.cβ go read it, fr fr π set_link_hw_format(9)snd_soc_find_dai_link(9)
π friendly reminder: this only works if the platform driver already did its part and registered that physical DAI. don't come crying to her if it's not there β she's a configurer, not a magician β¨
and that's the whole page, bestie!! go slay some topology ππ
sign-off szn π β this little gem lives under ./sound/soc, stamped October 2026, and the page itself is soc_tplg_dai_config(9). mwah π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms