soc_tplg_dai_config(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 ✨


πŸ’€ 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