Page MenuHomeFreeBSD

jz4780 AIC allow selecting internal/external codec at runtime
ClosedPublic

Authored by jmcneill on Dec 29 2016, 12:43 AM.
Tags
Referenced Files
Unknown Object (File)
Oct 1 2024, 1:32 PM
Unknown Object (File)
Sep 30 2024, 5:15 PM
Unknown Object (File)
Sep 29 2024, 7:37 PM
Unknown Object (File)
Sep 29 2024, 9:37 AM
Unknown Object (File)
Sep 28 2024, 5:06 PM
Unknown Object (File)
Sep 27 2024, 10:16 AM
Unknown Object (File)
Sep 27 2024, 4:04 AM
Unknown Object (File)
Sep 17 2024, 8:13 PM
Subscribers

Details

Summary

The JZ4780 I2S can feed either the internal audio codec or the HDMI TX, but not both at the same time. With this patch:

  • Add a dev.pcm.0.internal_codec sysctl node for selecting between internal and external codec
  • Changes playback sample rate from 96kHz to 48kHz for HDMI compatibility
  • Enable i2s clock on codec access

Diff Detail

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

Event Timeline

jmcneill retitled this revision from to jz4780 AIC allow selecting internal/external codec at runtime.
jmcneill updated this object.
jmcneill edited the test plan for this revision. (Show Details)
jmcneill added reviewers: br, kan, MIPS.
jmcneill set the repository for this revision to rS FreeBSD src repository - subversion.
jmcneill added a project: MIPS.
br edited edge metadata.

looks good and useful. thanks!

This revision is now accepted and ready to land.Dec 29 2016, 1:12 PM
This revision was automatically updated to reflect the committed changes.