All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 0/5] ASoC: Add support to Qualcomm msm8916-wcd multi codec
@ 2016-09-08 13:04 Srinivas Kandagatla
  2016-09-08 13:04 ` [PATCH v5 1/5] ASoC: codecs: Add msm8916-wcd analog codec Srinivas Kandagatla
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Srinivas Kandagatla @ 2016-09-08 13:04 UTC (permalink / raw)
  To: broonie, alsa-devel
  Cc: robh+dt, mark.rutland, tiwai, devicetree, kwestfie,
	linux-arm-msm, Srinivas Kandagatla

This patchset aims at adding msm8916-wcd multi codec support.
msm8916-wcd codec is found in Qualcomm msm8916 and apq8016 processors.
This codec IP is split in to two parts(Digital & Analog), Analog part
is integrated in to PMIC PM8916 and the digital part is integrated into
Application processor. Register access to the analog part is done via
SPMI interface to PMIC, and registers on the Application processor are
memory mapped. Data transfer between Analog and Digital Die is done via
a internal bus called PDM.

Most of this driver is ported from downstream Andriod v3.10 kernel.
Jack support and Headset button detection code is not added in to this
series.

First two patches add digital and analog codec support and the follow on
patches add routes and multicodec support to the sound card and
finally dts patch for board.

This codec support:
 - 3 Microphones: Primary Mic(Handset mic), Headset Mic and Secondary Mic.
 - 2 Digital Microphones.
 - 2 Mic Bias Circuits.
 - Earpiece
 - Headset
 - Loud Speaker.
 - Jack Detect.
 - Headset Button detection circuit.

Tested this code on v4.8-rc3 with for Headset (Mic and speakers), Secondary Mic
and Loudspeaker on DB410C. DMIC should work too.

Thanks,
srini

Changes since v4:
	- Fixed various C-style related issues reported by Mark
	- Added shutdown call to clear things setup in startup,
	spotted by Mark.
	- Rearranged code to make it more readble suggested by
	Mark.
	- Converted dmic clk to a dapm supply spotted by Mark.
	- Added example in dt bindings to show support of multicodec.
	- Removed two patches from this list as they are already
	 applied in sound tree.

Changes since v3:
	- Split the codec to 2 seperate codecs digital and analog,
	suggested by Mark and Kenneth.
	- Addressed various suggestions from Mark and Kenneth.

Srinivas Kandagatla (5):
  ASoC: codecs: Add msm8916-wcd analog codec
  ASoC: codecs: Add msm8916-wcd digital codec
  ASoC: apq8016-sbc: dt bindings: remove incorrect property
  ASoC: qcom: apq8016-sbc: Add support to multi codec.
  arm64: dts: apq8016-sbc: add analog audio support with multicodec

 .../devicetree/bindings/sound/qcom,apq8016-sbc.txt |   5 +-
 .../bindings/sound/qcom,msm8916-wcd-analog.txt     |  83 ++
 .../bindings/sound/qcom,msm8916-wcd-digital.txt    |  20 +
 arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi          |  63 ++
 arch/arm64/boot/dts/qcom/msm8916.dtsi              |   9 +
 arch/arm64/boot/dts/qcom/pm8916.dtsi               |  45 +-
 sound/soc/codecs/Kconfig                           |   7 +
 sound/soc/codecs/Makefile                          |   5 +-
 sound/soc/codecs/msm8916-wcd-analog.c              | 888 ++++++++++++++++++++
 sound/soc/codecs/msm8916-wcd-digital.c             | 920 +++++++++++++++++++++
 sound/soc/qcom/apq8016_sbc.c                       |  11 +-
 11 files changed, 2043 insertions(+), 13 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/sound/qcom,msm8916-wcd-analog.txt
 create mode 100644 Documentation/devicetree/bindings/sound/qcom,msm8916-wcd-digital.txt
 create mode 100644 sound/soc/codecs/msm8916-wcd-analog.c
 create mode 100644 sound/soc/codecs/msm8916-wcd-digital.c

-- 
2.7.4

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

end of thread, other threads:[~2016-10-24 18:04 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-08 13:04 [PATCH v5 0/5] ASoC: Add support to Qualcomm msm8916-wcd multi codec Srinivas Kandagatla
2016-09-08 13:04 ` [PATCH v5 1/5] ASoC: codecs: Add msm8916-wcd analog codec Srinivas Kandagatla
2016-09-16 15:41   ` Rob Herring
2016-09-19 11:00     ` Srinivas Kandagatla
     [not found]   ` <1473339896-9409-2-git-send-email-srinivas.kandagatla-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2016-09-16 15:43     ` Rob Herring
2016-09-08 13:04 ` [PATCH v5 4/5] ASoC: qcom: apq8016-sbc: Add support to multi codec Srinivas Kandagatla
2016-09-16 19:12   ` Rob Herring
2016-10-24 18:04   ` Applied "ASoC: qcom: apq8016-sbc: Add support to multi codec." to the asoc tree Mark Brown
     [not found] ` <1473339896-9409-1-git-send-email-srinivas.kandagatla-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2016-09-08 13:04   ` [PATCH v5 2/5] ASoC: codecs: Add msm8916-wcd digital codec Srinivas Kandagatla
     [not found]     ` <1473339896-9409-3-git-send-email-srinivas.kandagatla-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2016-09-16 15:45       ` Rob Herring
2016-09-19 11:00         ` Srinivas Kandagatla
2016-09-08 13:04   ` [PATCH v5 3/5] ASoC: apq8016-sbc: dt bindings: remove incorrect property Srinivas Kandagatla
2016-09-16 15:45     ` Rob Herring
2016-10-24 18:04     ` Applied "ASoC: apq8016-sbc: dt bindings: remove incorrect property" to the asoc tree Mark Brown
2016-09-08 13:04   ` [PATCH v5 5/5] arm64: dts: apq8016-sbc: add analog audio support with multicodec Srinivas Kandagatla

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.