Page MenuHomeFreeBSD

Add SoC audio framework
ClosedPublic

Authored by gonzo on Dec 30 2020, 12:20 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jul 28, 2:23 PM
Unknown Object (File)
Sat, Jul 25, 4:40 AM
Unknown Object (File)
Wed, Jul 22, 7:28 PM
Unknown Object (File)
Sun, Jul 19, 9:52 PM
Unknown Object (File)
Jul 2 2026, 10:44 PM
Unknown Object (File)
Jun 29 2026, 12:59 PM
Unknown Object (File)
Jun 24 2026, 2:42 AM
Unknown Object (File)
Jun 23 2026, 3:01 AM

Details

Summary

This framework is initial implementation of the simple-audio-card compatible
audio driver framework. It provides glue for CPU/codec/aux device.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 35799
Build 32688: arc lint + arc unit

Event Timeline

Looks nice to me, do you have some example drivers so it might be easier to review ?

sys/dev/sound/fdt/simple_amplifier.c
99

enable-gpios is optional.

  • Add Allwinner codecs and I2S driver as an example for the framework usage
  • simple-amplifier: make gpio-enable optional

Thanks for the example driver.
This looks ok for me but I know almost nothing about sound :P

sys/arm/allwinner/aw_i2s.c
339

Not sure this is correct :)

This revision was not accepted when it landed; it landed in state Needs Review.Jun 11 2021, 7:07 PM
Closed by commit rG2cfe870acdec: arm64: Add Soc audio framework (authored by gonzo, committed by manu). · Explain Why
This revision was automatically updated to reflect the committed changes.