alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/3] ASoC: codecs: msm8916-wcd-analog: Add support to MBHC
@ 2017-08-17  8:02 srinivas.kandagatla
  2017-08-17  8:02 ` [PATCH v4 1/3] ASoC: codecs: msm8916-wcd-analog: get micbias voltage from dt srinivas.kandagatla
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: srinivas.kandagatla @ 2017-08-17  8:02 UTC (permalink / raw)
  To: Mark Brown, Banajit Goswami, alsa-devel
  Cc: damien.riegel, Jaroslav Kysela, Takashi Iwai, Patrick Lai,
	linux-kernel, Srinivas Kandagatla

From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>

This patchset adds support to MBHC(Multibutton headset control) block in PM8916
analog block. MBHC support comes from 2 blocks first mechanical headset detection
and second headset type, 5 button detection.

This patchset adds support to:
1> Support to NC and NO type of headset Jacks.
2> Mechanical insertion and detection of headset jack.
3> Detect a 3 pole Headphone and a 4 pole Headset.
4> Detect 5 buttons.

Tested it on DB410c with Audio Mezz board with 4 pole and 3 pole
and during playback and recording use cases.

Changes since v3(https://lkml.org/lkml/2017/8/2/609):
	- dropped ASoC: codecs: msm8916-wcd-analog: move codec reset to probe
	- fixed rampup time for micbias spotted by Mark.
	- Added tested-by from Dimien
	- Dropped dt patch from this series.

Srinivas Kandagatla (3):
  ASoC: codecs: msm8916-wcd-analog: get micbias voltage from dt
  ASoC: codecs: msm8916-wcd-analog: add MBHC support
  ASoC: qcom: apq8016-sbc: Add support to Headset JACK

 .../bindings/sound/qcom,msm8916-wcd-analog.txt     |  18 +-
 sound/soc/codecs/msm8916-wcd-analog.c              | 400 ++++++++++++++++++++-
 sound/soc/qcom/apq8016_sbc.c                       |  34 ++
 3 files changed, 444 insertions(+), 8 deletions(-)

-- 
2.11.0

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-08-21 18:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-17  8:02 [PATCH v4 0/3] ASoC: codecs: msm8916-wcd-analog: Add support to MBHC srinivas.kandagatla
2017-08-17  8:02 ` [PATCH v4 1/3] ASoC: codecs: msm8916-wcd-analog: get micbias voltage from dt srinivas.kandagatla
2017-08-21 18:24   ` Mark Brown
2017-08-21 18:33   ` Applied "ASoC: codecs: msm8916-wcd-analog: get micbias voltage from dt" to the asoc tree Mark Brown
2017-08-17  8:02 ` [PATCH v4 2/3] ASoC: codecs: msm8916-wcd-analog: add MBHC support srinivas.kandagatla
2017-08-21 18:33   ` Applied "ASoC: codecs: msm8916-wcd-analog: add MBHC support" to the asoc tree Mark Brown
2017-08-17  8:02 ` [PATCH v4 3/3] ASoC: qcom: apq8016-sbc: Add support to Headset JACK srinivas.kandagatla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).