Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1695978

[PATCH v1 0/3] add jack detection to MSM8916 analog

From Damien Riegel <damien.riegel@savoirfairelinux.com>
Newsgroups linux.kernel
Subject [PATCH v1 0/3] add jack detection to MSM8916 analog
Date 2017-07-25 20:00 +0200
Message-ID <u7chH-5RB-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


This series adds support for the MBHC (Multi-Button Headset Control) of
the PM8916's analog codec. This IP is capable to identify up to five
buttons on a headset, but for now only the jack detection is supported.
A complete implementation exists in the Android kernel, but it's quite
complex and I'd rather go step by step.

First patch fixes a define that is squatting a bit used by the MBHC.
Second patch is the actual implementation of the jack detection, and
third patch plugs the jack detection in the sound card driver.

Damien Riegel (3):
  ASoC: codecs: msm8916-analog: fix DIG_CLK_CTL_RXD3_CLK_EN define
  ASoC: codecs: msm8916-analog: support jack detection
  ASoC: qcom: apq8016-sbc: enable jack detection

 sound/soc/codecs/msm8916-wcd-analog.c | 105 +++++++++++++++++++++++++++++++++-
 sound/soc/codecs/msm8916-wcd-analog.h |  18 ++++++
 sound/soc/qcom/apq8016_sbc.c          |  16 ++++++
 3 files changed, 138 insertions(+), 1 deletion(-)
 create mode 100644 sound/soc/codecs/msm8916-wcd-analog.h

-- 
2.13.3

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH v1 0/3] add jack detection to MSM8916 analog Damien Riegel <damien.riegel@savoirfairelinux.com> - 2017-07-25 20:00 +0200
  [PATCH v1 1/3] ASoC: codecs: msm8916-analog: fix DIG_CLK_CTL_RXD3_CLK_EN define Damien Riegel <damien.riegel@savoirfairelinux.com> - 2017-07-25 20:00 +0200
    Re: [PATCH v1 1/3] ASoC: codecs: msm8916-analog: fix  DIG_CLK_CTL_RXD3_CLK_EN define Srinivas Kandagatla <srinivas.kandagatla@linaro.org> - 2017-07-25 21:30 +0200
    Applied "ASoC: codecs: msm8916-analog: fix DIG_CLK_CTL_RXD3_CLK_EN define" to the asoc tree Mark Brown <broonie@kernel.org> - 2017-07-27 21:10 +0200
  [PATCH v1 2/3] ASoC: codecs: msm8916-analog: support jack detection Damien Riegel <damien.riegel@savoirfairelinux.com> - 2017-07-25 20:00 +0200
    Re: [PATCH v1 2/3] ASoC: codecs: msm8916-analog: support jack  detection Mark Brown <broonie@kernel.org> - 2017-07-26 18:30 +0200
    Re: [PATCH v1 2/3] ASoC: codecs: msm8916-analog: support jack  detection Mark Brown <broonie@kernel.org> - 2017-07-26 18:30 +0200
    Re: [PATCH v1 2/3] ASoC: codecs: msm8916-analog: support jack  detection Srinivas Kandagatla <srinivas.kandagatla@linaro.org> - 2017-07-26 18:50 +0200
      Re: [PATCH v1 2/3] ASoC: codecs: msm8916-analog: support jack  detection Damien Riegel <damien.riegel@savoirfairelinux.com> - 2017-07-26 21:50 +0200

csiph-web