~/talk

ASoC: Supporting Audio on an Embedded Board

links:none on file
slides:none on file

Shows how to get ALSA audio working on an embedded board by writing a machine (glue) driver or using the device-tree simple-audio-card binding; registers a sound_card with devm_snd_soc_register_card, fills snd_soc_dai_link entries, and implements the hw_params callback to compute clocks via snd_pcm_hw_params_to_bclk and snd_soc_dai_set_sysclk. Uses an Atmel SSC + WM89xx codec example, demonstrates device-tree routing, oscilloscope and i2cset for debugging, and explains common failures: wrong master/slave clocks, missing codec playback stream, and underruns.

AI-written summary · about

  1. 0:00Introduction and ASoC basics
  2. 1:21Audio hardware architecture
  3. 2:31Digital interface standards
  4. 4:23ASoC machine driver structure
  5. 6:46Registering the sound card
  6. 13:46Device tree initialization
  7. 16:02Defining audio routing
  8. 17:08DAPM widgets and connections
  9. 22:32Audio clocking and mastership
  10. 26:56Hardware parameters and PLLs
  11. 32:39Simple card framework
  12. 35:08Troubleshooting audio issues
  13. 47:15Q&A and closing remarks
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.