ASoC: wm8960: Support headphone jack detection function
authorShengjiu Wang <shengjiu.wang@nxp.com>
Wed, 3 Jun 2020 10:26:53 +0000 (18:26 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 15 Jun 2020 19:58:33 +0000 (20:58 +0100)
commitc9015a1723373f2c8f8ac994f59470f4fb852623
tree54718f1825ac1029c8170940602b2ab425bde932
parent6f1519a0ff5f1281c4c4d325d6f563a3ed208f7e
ASoC: wm8960: Support headphone jack detection function

Add two platform variables for headphone jack detection.
"hp_cfg" is for configuration of heaphone jack detection.
"gpio_cfg" is for configuration of gpio, the gpio is used
for plug & unplug interrupt on SoC.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Link: https://lore.kernel.org/r/1591180013-12416-2-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/wm8960.h
sound/soc/codecs/wm8960.c