aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHans de Goede <[email protected]>2019-01-03 14:45:26 +0100
committerMark Brown <[email protected]>2019-01-04 15:09:48 +0000
commit822257661031faa437336058d8a32bf1844ad9c6 (patch)
tree355e47b95658608421764102308705606f5f502c /tools/perf/scripts/python
parente1de3d237b5083fcd0da6fcf600848a4cef9cc67 (diff)
ASoC: es8316: Add jack-detect support
Adding jack-detect support may seem weird for a codec with only a single output, but it is necessary. The ES8316 appnote showing the intended usage uses a jack-receptacle which physically disconnects the speakers from the output when a jack is plugged in. But all 3 devices using the es8316 which I have (2 Cherry Trail devices and one Bay Trail CR device), use an analog mux to disconnect the speakers, driven by a GPIO. In order to enable/disable the speakers at the right time, we need jack-detect. The same goes for the microphone where we must correctly set the mux for the single ADC to either the internal or the headset microphone. All devices I have support the es8316's builtin jack-detect functionality. Signed-off-by: Hans de Goede <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions