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.
Details
Details
- Reviewers
manu ganbold - Group Reviewers
ARM - Commits
- rS308269: Add support for Allwinner H3 audio codec.
Needs to be tested on an A10 or A20 board.
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
sys/arm/allwinner/a10_codec.c | ||
---|---|---|
68 ↗ | (On Diff #21957) | Would it pay to add a mute method to the mixer interface? |
sys/arm/allwinner/a10_codec.c | ||
---|---|---|
68 ↗ | (On Diff #21957) | 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. |