Add support for jack detection to codec present in

Merge series from Ondřej Jirman <megi@xff.cz>:

This series adds support for jack detection to this codec. I used
and tested this on Pinephone. It works quite nicely. I tested it
against Android headset mic button resistor specification.

The patches are a rewritten and debugged version of the original
ones from Arnaud Ferraris and Samuel Holland, improved to better
handle headset button presses and with more robust plug-in/out
event debouncing, and to use set_jack API instead of sniffing
the sound card widget names, to detect the type of jack connector.
This commit is contained in:
Mark Brown 2024-03-26 14:11:34 +00:00
commit 35c8c82fa0
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0
2 changed files with 399 additions and 20 deletions