Page MenuHomeFreeBSD

Add SoC audio framework
ClosedPublic

Authored by gonzo on Dec 30 2020, 12:20 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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 ↗(On Diff #81382)

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.