All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 00/11] ASoC: Add support to WCD9340/WCD9341 codec
@ 2019-12-17 12:16 ` Srinivas Kandagatla
  0 siblings, 0 replies; 34+ messages in thread
From: Srinivas Kandagatla @ 2019-12-17 12:16 UTC (permalink / raw)
  To: robh, broonie, lee.jones, linus.walleij
  Cc: vinod.koul, alsa-devel, devicetree, linux-kernel, spapothi,
	bgoswami, linux-gpio, Srinivas Kandagatla

This patchset adds support to Qualcomm WCD9340/WCD9341 Codec which
is a standalone Hi-Fi audio codec IC.
This codec supports both I2S/I2C and SLIMbus audio interfaces.
On slimbus interface it supports two data lanes; 16 Tx ports
and 8 Rx ports. It has Five DACs and seven dedicated interpolators,
Multibutton headset control (MBHC), Active noise cancellation,
Sidetone paths, MAD (mic activity detection) and codec processing engine.
It supports Class-H differential earpiece out and stereo single
ended headphones out.

This codec also has integrated SoundWire controller.
Patchset for this is already sent for review at
https://patchwork.kernel.org/cover/11185769/
    
This patchset has been tested on SDM845 based DragonBoard DB845c and
Lenovo Yoga C630 laptop with WSA881x smart speaker amplifiers via
soundwire and 4 DMICs.

gpio controller patch does not have any link dependency, it can go by its own.

Most of the code in this driver is rework of Qualcomm downstream drivers
used in Andriod. Credits to Banajit Goswami and Patrick Lai's Team.

Thanks,
srini

Changes since v4:
 - updated microvolt bindings as suggested by Rob.
 - slimbus optional property patch already applied.

Srinivas Kandagatla (11):
  ASoC: dt-bindings: add dt bindings for WCD9340/WCD9341 audio codec
  mfd: wcd934x: add support to wcd9340/wcd9341 codec
  ASoC: wcd934x: add support to wcd9340/wcd9341 codec
  ASoC: wcd934x: add basic controls
  ASoC: wcd934x: add playback dapm widgets
  ASoC: wcd934x: add capture dapm widgets
  ASoC: wcd934x: add audio routings
  dt-bindings: gpio: wcd934x: Add bindings for gpio
  gpio: wcd934x: Add support to wcd934x gpio controller
  ASoC: qcom: dt-bindings: Add compatible for DB845c and Lenovo Yoga
  ASoC: qcom: sdm845: add support to DB845c and Lenovo Yoga

 .../bindings/gpio/qcom,wcd934x-gpio.yaml      |   47 +
 .../devicetree/bindings/sound/qcom,sdm845.txt |    5 +-
 .../bindings/sound/qcom,wcd934x.yaml          |  175 +
 drivers/gpio/Kconfig                          |    8 +
 drivers/gpio/Makefile                         |    1 +
 drivers/gpio/gpio-wcd934x.c                   |  104 +
 drivers/mfd/Kconfig                           |   12 +
 drivers/mfd/Makefile                          |    1 +
 drivers/mfd/wcd934x.c                         |  306 +
 include/linux/mfd/wcd934x/registers.h         |  531 ++
 include/linux/mfd/wcd934x/wcd934x.h           |   31 +
 sound/soc/codecs/Kconfig                      |   10 +
 sound/soc/codecs/Makefile                     |    2 +
 sound/soc/codecs/wcd934x.c                    | 5084 +++++++++++++++++
 sound/soc/qcom/sdm845.c                       |   86 +-
 15 files changed, 6401 insertions(+), 2 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/gpio/qcom,wcd934x-gpio.yaml
 create mode 100644 Documentation/devicetree/bindings/sound/qcom,wcd934x.yaml
 create mode 100644 drivers/gpio/gpio-wcd934x.c
 create mode 100644 drivers/mfd/wcd934x.c
 create mode 100644 include/linux/mfd/wcd934x/registers.h
 create mode 100644 include/linux/mfd/wcd934x/wcd934x.h
 create mode 100644 sound/soc/codecs/wcd934x.c

-- 
2.21.0


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

end of thread, other threads:[~2020-01-06 23:20 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-17 12:16 [PATCH v5 00/11] ASoC: Add support to WCD9340/WCD9341 codec Srinivas Kandagatla
2019-12-17 12:16 ` [alsa-devel] " Srinivas Kandagatla
2019-12-17 12:16 ` [PATCH v5 01/11] ASoC: dt-bindings: add dt bindings for WCD9340/WCD9341 audio codec Srinivas Kandagatla
2019-12-17 12:16   ` [alsa-devel] " Srinivas Kandagatla
2019-12-18 20:41   ` Rob Herring
2019-12-18 20:41     ` [alsa-devel] " Rob Herring
2019-12-17 12:16 ` [PATCH v5 02/11] mfd: wcd934x: add support to wcd9340/wcd9341 codec Srinivas Kandagatla
2019-12-17 12:16   ` [alsa-devel] " Srinivas Kandagatla
2019-12-17 12:16 ` [PATCH v5 03/11] ASoC: " Srinivas Kandagatla
2019-12-17 12:16   ` [alsa-devel] " Srinivas Kandagatla
2019-12-18 11:46   ` Mark Brown
2019-12-18 11:46     ` [alsa-devel] " Mark Brown
2019-12-18 16:56     ` Srinivas Kandagatla
2019-12-18 16:56       ` [alsa-devel] " Srinivas Kandagatla
2019-12-17 12:16 ` [PATCH v5 04/11] ASoC: wcd934x: add basic controls Srinivas Kandagatla
2019-12-17 12:16   ` [alsa-devel] " Srinivas Kandagatla
2019-12-17 12:16 ` [PATCH v5 05/11] ASoC: wcd934x: add playback dapm widgets Srinivas Kandagatla
2019-12-17 12:16   ` [alsa-devel] " Srinivas Kandagatla
2019-12-17 12:16 ` [PATCH v5 06/11] ASoC: wcd934x: add capture " Srinivas Kandagatla
2019-12-17 12:16   ` [alsa-devel] " Srinivas Kandagatla
2019-12-17 12:16 ` [PATCH v5 07/11] ASoC: wcd934x: add audio routings Srinivas Kandagatla
2019-12-17 12:16   ` [alsa-devel] " Srinivas Kandagatla
2019-12-17 12:16 ` [PATCH v5 08/11] dt-bindings: gpio: wcd934x: Add bindings for gpio Srinivas Kandagatla
2019-12-17 12:16   ` [alsa-devel] " Srinivas Kandagatla
2020-01-06 23:15   ` Linus Walleij
2020-01-06 23:15     ` [alsa-devel] " Linus Walleij
2019-12-17 12:16 ` [PATCH v5 09/11] gpio: wcd934x: Add support to wcd934x gpio controller Srinivas Kandagatla
2019-12-17 12:16   ` [alsa-devel] " Srinivas Kandagatla
2020-01-06 23:19   ` Linus Walleij
2020-01-06 23:19     ` [alsa-devel] " Linus Walleij
2019-12-17 12:16 ` [PATCH v5 10/11] ASoC: qcom: dt-bindings: Add compatible for DB845c and Lenovo Yoga Srinivas Kandagatla
2019-12-17 12:16   ` [alsa-devel] " Srinivas Kandagatla
2019-12-17 12:16 ` [PATCH v5 11/11] ASoC: qcom: sdm845: add support to " Srinivas Kandagatla
2019-12-17 12:16   ` [alsa-devel] " 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.