All of lore.kernel.org
 help / color / mirror / Atom feed
From: srinivas.kandagatla@linaro.org
To: lee.jones@linaro.org, robh+dt@kernel.org, broonie@kernel.org
Cc: mark.rutland@arm.com, lgirdwood@gmail.com,
	bgoswami@codeaurora.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, vkoul@kernel.org,
	alsa-devel@alsa-project.org,
	Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Subject: [PATCH v4 00/14] ASoC: Add support to WCD9335 Audio Codec
Date: Sun, 16 Sep 2018 17:57:13 -0700	[thread overview]
Message-ID: <20180917005727.32728-1-srinivas.kandagatla@linaro.org> (raw)

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

Thankyou for reviewing v3 patchset, here is v4 addressing comments from v3.

Qualcomm WCD9335 Codec is a standalone Hi-Fi audio codec IC.
It is integrated in multiple Qualcomm SoCs like: MSM8996, MSM8976,
and MSM8956 chipsets.

WCD9335 had multiple functional blocks, like: Soundwire controller,
interrupt mux, pin controller, Audio codec, MBHC, MAD(Mic activity Detection),
Ultrasonic proximity and pen detection, Battery-voltage monitoring and
Codec processing engine.

Currently this patchset has been only tested with SLIMbus interface due
to hardware avaiablity, but it can be easily made to work with both SLIMbus
and I2C/I2S.    

This patchset adds very basic playback and capture support witout much
fancy features. New features will be added once the basic support is in.
This patchset is tested on top of linux-next on DB820c for both playback
, capture paths and MBHC.

Some parts of the code has been inherited from Qualcomm andriod kernel,
so credits to various authors.

WCD9335 can be interfaced via I2S/I2C or SLIMbus. 

Here is my test branch incase someone want to try this out:
https://git.linaro.org/people/srinivas.kandagatla/linux.git/log/?h=wcd9335

Thanks,
Srini

Changes since v3 (https://lkml.org/lkml/2018/9/4/318/)
 - Updated mbhc dt bindings according to Robs Comments.
 - Added a cleanup patch to common up fixups.
 - Addressed various comments on mfd driver by Lee Jones.
 - Added acks on bindings and irq support.
 - fixed module loading

Srinivas Kandagatla (14):
  ASoC: dt-bindings: update wcd9335 bindings.
  mfd: wcd9335: add support to wcd9335 core
  mfd: wcd9335: add wcd irq support
  ASoC: wcd9335: add support to wcd9335 codec
  ASoC: wcd9335: add CLASS-H Controller support
  ASoC: wcd9335: add basic controls
  ASoC: wcd9335: add playback dapm widgets
  ASoC: wcd9335: add capture dapm widgets
  ASoC: wcd9335: add audio routings
  ASoC: dt-bindings: Add WCD9335 MBHC specific properties
  ASoC: wcd9335: add mbhc support
  ASoC: apq8096: add slim support
  ASoC: apq8096: add headset JACK support
  ASoC: qcom: common: move be_hw_fixup to common

 .../devicetree/bindings/sound/qcom,wcd9335.txt     |   30 +-
 drivers/mfd/Kconfig                                |   13 +
 drivers/mfd/Makefile                               |    4 +
 drivers/mfd/wcd9335-core.c                         |  394 ++
 include/linux/mfd/wcd9335/registers.h              |  640 +++
 include/linux/mfd/wcd9335/wcd9335.h                |   81 +
 sound/soc/codecs/Kconfig                           |    5 +
 sound/soc/codecs/Makefile                          |    2 +
 sound/soc/codecs/wcd-clsh-v2.c                     |  577 +++
 sound/soc/codecs/wcd-clsh-v2.h                     |   49 +
 sound/soc/codecs/wcd9335.c                         | 5241 ++++++++++++++++++++
 sound/soc/qcom/apq8096.c                           |  128 +-
 sound/soc/qcom/common.c                            |   17 +
 sound/soc/qcom/sdm845.c                            |   22 +-
 14 files changed, 7168 insertions(+), 35 deletions(-)
 create mode 100644 drivers/mfd/wcd9335-core.c
 create mode 100644 include/linux/mfd/wcd9335/registers.h
 create mode 100644 include/linux/mfd/wcd9335/wcd9335.h
 create mode 100644 sound/soc/codecs/wcd-clsh-v2.c
 create mode 100644 sound/soc/codecs/wcd-clsh-v2.h
 create mode 100644 sound/soc/codecs/wcd9335.c

-- 
2.9.3


WARNING: multiple messages have this Message-ID (diff)
From: srinivas.kandagatla@linaro.org
To: lee.jones@linaro.org, robh+dt@kernel.org, broonie@kernel.org
Cc: mark.rutland@arm.com, devicetree@vger.kernel.org,
	alsa-devel@alsa-project.org, bgoswami@codeaurora.org,
	lgirdwood@gmail.com, linux-kernel@vger.kernel.org,
	vkoul@kernel.org,
	Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Subject: [PATCH v4 00/14] ASoC: Add support to WCD9335 Audio Codec
Date: Sun, 16 Sep 2018 17:57:13 -0700	[thread overview]
Message-ID: <20180917005727.32728-1-srinivas.kandagatla@linaro.org> (raw)

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

Thankyou for reviewing v3 patchset, here is v4 addressing comments from v3.

Qualcomm WCD9335 Codec is a standalone Hi-Fi audio codec IC.
It is integrated in multiple Qualcomm SoCs like: MSM8996, MSM8976,
and MSM8956 chipsets.

WCD9335 had multiple functional blocks, like: Soundwire controller,
interrupt mux, pin controller, Audio codec, MBHC, MAD(Mic activity Detection),
Ultrasonic proximity and pen detection, Battery-voltage monitoring and
Codec processing engine.

Currently this patchset has been only tested with SLIMbus interface due
to hardware avaiablity, but it can be easily made to work with both SLIMbus
and I2C/I2S.    

This patchset adds very basic playback and capture support witout much
fancy features. New features will be added once the basic support is in.
This patchset is tested on top of linux-next on DB820c for both playback
, capture paths and MBHC.

Some parts of the code has been inherited from Qualcomm andriod kernel,
so credits to various authors.

WCD9335 can be interfaced via I2S/I2C or SLIMbus. 

Here is my test branch incase someone want to try this out:
https://git.linaro.org/people/srinivas.kandagatla/linux.git/log/?h=wcd9335

Thanks,
Srini

Changes since v3 (https://lkml.org/lkml/2018/9/4/318/)
 - Updated mbhc dt bindings according to Robs Comments.
 - Added a cleanup patch to common up fixups.
 - Addressed various comments on mfd driver by Lee Jones.
 - Added acks on bindings and irq support.
 - fixed module loading

Srinivas Kandagatla (14):
  ASoC: dt-bindings: update wcd9335 bindings.
  mfd: wcd9335: add support to wcd9335 core
  mfd: wcd9335: add wcd irq support
  ASoC: wcd9335: add support to wcd9335 codec
  ASoC: wcd9335: add CLASS-H Controller support
  ASoC: wcd9335: add basic controls
  ASoC: wcd9335: add playback dapm widgets
  ASoC: wcd9335: add capture dapm widgets
  ASoC: wcd9335: add audio routings
  ASoC: dt-bindings: Add WCD9335 MBHC specific properties
  ASoC: wcd9335: add mbhc support
  ASoC: apq8096: add slim support
  ASoC: apq8096: add headset JACK support
  ASoC: qcom: common: move be_hw_fixup to common

 .../devicetree/bindings/sound/qcom,wcd9335.txt     |   30 +-
 drivers/mfd/Kconfig                                |   13 +
 drivers/mfd/Makefile                               |    4 +
 drivers/mfd/wcd9335-core.c                         |  394 ++
 include/linux/mfd/wcd9335/registers.h              |  640 +++
 include/linux/mfd/wcd9335/wcd9335.h                |   81 +
 sound/soc/codecs/Kconfig                           |    5 +
 sound/soc/codecs/Makefile                          |    2 +
 sound/soc/codecs/wcd-clsh-v2.c                     |  577 +++
 sound/soc/codecs/wcd-clsh-v2.h                     |   49 +
 sound/soc/codecs/wcd9335.c                         | 5241 ++++++++++++++++++++
 sound/soc/qcom/apq8096.c                           |  128 +-
 sound/soc/qcom/common.c                            |   17 +
 sound/soc/qcom/sdm845.c                            |   22 +-
 14 files changed, 7168 insertions(+), 35 deletions(-)
 create mode 100644 drivers/mfd/wcd9335-core.c
 create mode 100644 include/linux/mfd/wcd9335/registers.h
 create mode 100644 include/linux/mfd/wcd9335/wcd9335.h
 create mode 100644 sound/soc/codecs/wcd-clsh-v2.c
 create mode 100644 sound/soc/codecs/wcd-clsh-v2.h
 create mode 100644 sound/soc/codecs/wcd9335.c

-- 
2.9.3

             reply	other threads:[~2018-09-17  0:57 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-17  0:57 srinivas.kandagatla [this message]
2018-09-17  0:57 ` [PATCH v4 00/14] ASoC: Add support to WCD9335 Audio Codec srinivas.kandagatla
2018-09-17  0:57 ` [PATCH v4 01/14] ASoC: dt-bindings: update wcd9335 bindings srinivas.kandagatla
2018-09-17  0:57 ` [PATCH v4 02/14] mfd: wcd9335: add support to wcd9335 core srinivas.kandagatla
2018-10-24  7:07   ` Lee Jones
2018-10-24  7:07     ` Lee Jones
2018-10-24 10:50     ` Srinivas Kandagatla
2018-09-17  0:57 ` [PATCH v4 03/14] mfd: wcd9335: add wcd irq support srinivas.kandagatla
2018-09-17  0:57 ` [PATCH v4 04/14] ASoC: wcd9335: add support to wcd9335 codec srinivas.kandagatla
2018-09-17  0:57 ` [PATCH v4 05/14] ASoC: wcd9335: add CLASS-H Controller support srinivas.kandagatla
2018-09-17  0:57   ` srinivas.kandagatla
2018-09-17  0:57 ` [PATCH v4 06/14] ASoC: wcd9335: add basic controls srinivas.kandagatla
2018-09-17  0:57 ` [PATCH v4 07/14] ASoC: wcd9335: add playback dapm widgets srinivas.kandagatla
2018-09-17  0:57 ` [PATCH v4 08/14] ASoC: wcd9335: add capture " srinivas.kandagatla
2018-09-17  0:57 ` [PATCH v4 09/14] ASoC: wcd9335: add audio routings srinivas.kandagatla
2018-09-17  0:57 ` [PATCH v4 10/14] ASoC: dt-bindings: Add WCD9335 MBHC specific properties srinivas.kandagatla
2018-09-26  9:27   ` Banajit Goswami
2018-09-17  0:57 ` [PATCH v4 11/14] ASoC: wcd9335: add mbhc support srinivas.kandagatla
2018-09-26  9:31   ` Banajit Goswami
2018-09-26 10:56     ` Srinivas Kandagatla
2018-09-26 10:56       ` Srinivas Kandagatla
2018-09-17  0:57 ` [PATCH v4 12/14] ASoC: apq8096: add slim support srinivas.kandagatla
2018-09-17  0:57 ` [PATCH v4 13/14] ASoC: apq8096: add headset JACK support srinivas.kandagatla
2018-09-17  0:57 ` [PATCH v4 14/14] ASoC: qcom: common: move be_hw_fixup to common srinivas.kandagatla
2018-09-19  5:49   ` [alsa-devel] " Rohit Kumar
2018-09-26 10:56     ` Srinivas Kandagatla

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180917005727.32728-1-srinivas.kandagatla@linaro.org \
    --to=srinivas.kandagatla@linaro.org \
    --cc=alsa-devel@alsa-project.org \
    --cc=bgoswami@codeaurora.org \
    --cc=broonie@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=lee.jones@linaro.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=robh+dt@kernel.org \
    --cc=vkoul@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.