Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modernize TPA6130A2 driver #13

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

LRitzdorf
Copy link
Contributor

This PR reimplements the TPA6130A2 (headphone amplifier) driver, following the style of @tvannoy's minimal AD1939 driver.

As noted in #10, the old module was incorrectly named tpa613a2 — that chip does exist, but it lacks an I2C control interface. As part of this rewrite, all such mis-namings have been fixed.
As an added bonus, this might make issue diagnostics a bit easier; if students see errors referencing the old name, we'll know they haven't properly migrated to the new driver.

Also, this PR doesn't implement the "mute upon module unload" behavior discussed in #10 — that's probably best reserved for a different PR.

Resolves #10

@LRitzdorf
Copy link
Contributor Author

Also, this has been tested and is functional (on my system, at least). Further testing is welcome!

@LRitzdorf
Copy link
Contributor Author

@tvannoy @rksnider Ping, in case one of you would like to review this

@tvannoy
Copy link
Collaborator

tvannoy commented May 20, 2024

Ross and I generally operate as JIT compilers, so we'll get around to it closer to next spring. I'm teaching the class in the fall, so I might have time to get around to this in the fall.

@LRitzdorf
Copy link
Contributor Author

In that case, I'll also rebase #11 on top of this — that way, they can be merged in sequence once (if?) you're ready. Thanks for letting me know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TPA6130A2 driver: kernel panic after unload; inability to re-load
2 participants