Page MenuHomeFreeBSD

Allwinner H3 audio codec support
ClosedPublic

Authored by jmcneill on Nov 3 2016, 12:13 AM.
Tags
Referenced Files
Unknown Object (File)
Wed, Mar 20, 7:53 PM
Unknown Object (File)
Wed, Feb 28, 2:11 PM
Unknown Object (File)
Jan 27 2024, 9:07 PM
Unknown Object (File)
Jan 27 2024, 2:02 PM
Unknown Object (File)
Jan 21 2024, 1:12 AM
Unknown Object (File)
Dec 27 2023, 5:36 PM
Unknown Object (File)
Dec 27 2023, 5:10 PM
Unknown Object (File)
Dec 22 2023, 9:34 PM
Subscribers

Details

Summary

This patch adds support for the H3 audio codec. Audio controller is mostly the same as A10/A20 except some registers are shuffled around. The mixer interfaces are completely different between SoCs, so separate a10_mixer_class and h3_mixer_class are implemented.

Test Plan

Needs to be tested on an A10 or A20 board.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

jmcneill retitled this revision from to Allwinner H3 audio codec support.
jmcneill updated this object.
jmcneill edited the test plan for this revision. (Show Details)
jmcneill added reviewers: ARM, manu.
jmcneill set the repository for this revision to rS FreeBSD src repository - subversion.
jmcneill added a project: ARM.
ganbold added a reviewer: ganbold.
ganbold added a subscriber: ganbold.

Audio works nicely on A20 device (Cubieboard2)

This revision is now accepted and ready to land.Nov 3 2016, 2:18 AM
sys/arm/allwinner/a10_codec.c
68

Would it pay to add a mute method to the mixer interface?

sys/arm/allwinner/a10_codec.c
68

I think I can get away with muting/unmuting in mixer_set but for now I wanted to follow the model used by the existing driver. Getting rid of this callback would be a good future enhancement though.

This revision was automatically updated to reflect the committed changes.