Commit 5adb9832 authored by Shiv Maliyappanahalli's avatar Shiv Maliyappanahalli
Browse files

ASoC: mdm9615: Add headset detection through mechanical switch



Use mechanical switch on the phone jack to detect headset/headphone
insertion and removal.  Mechanical switch is beneficial to avoid fake
button press and high impedance microphone headset detection.
Both top and bottom speakers are controlled by GPIO 5 and GPIO 3 is
used for HS Detection.

Change-Id: I8a78b1181f0e32360daebd57d6ea0f9e45b46221
Signed-off-by: default avatarShiv Maliyappanahalli <smaliyap@codeaurora.org>
parent 3e041840
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment