audio: add GPIO support for Lex jack detection
BZ: 39875
In PR2.1 board, a GPIO is added to improve the jack
detection logic.
Add driver support GPIO jack detection. _JACK_DET line is
connected to PNW GPIO line. In addition to existing MSIC
jack detection interrupt, driver reads the GPIO line for
making decision on type jack device connected.
Change-Id: Ib4d8f0f4ecfa7b74f835d902ca8957845ef42261
Signed-off-by: KuldeepX Vyas <kuldeepx.vyas@intel.com>
Signed-off-by: Ramesh Babu K V <ramesh.babu@intel.com>
Reviewed-on: http://android.intel.com:8080/51674
Reviewed-by: Koul, Vinod <vinod.koul@intel.com>
Tested-by: Gupta, ArvindX K <arvindx.k.gupta@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>