mbox series

[v4,0/2] soundwire: Add support to Qualcomm SoundWire master

Message ID 20191030153150.18303-1-srinivas.kandagatla@linaro.org
Headers show
Series soundwire: Add support to Qualcomm SoundWire master | expand

Message

Srinivas Kandagatla Oct. 30, 2019, 3:31 p.m. UTC
Thanks for reviewing the v3 patchset.
Here is new patchset addressing all the comments from v3

This patchset adds support for Qualcomm SoundWire Master Controller
found in most of Qualcomm SoCs and WCD audio codecs.

This driver along with WCD934x codec and WSA881x Class-D Smart Speaker
Amplifier drivers is tested on on DragonBoard DB845c based of SDM845
SoC and Lenovo YOGA C630 Laptop based on SDM850.

SoundWire controller on SDM845 is integrated in WCD934x audio codec via
SlimBus interface.

Currently this driver is very minimal and only supports PDM.

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.

TODO:
	Test and add PCM support.

Thanks,
srini

Changes since v3:
- Updated bindings as suggested by Rob.
- Fixed sdw_disable/unprepare order.
- removed setting stream_name as suggested by Pierre 
- removed v1.5.0 controller support for now, will be added after testing.

Srinivas Kandagatla (2):
  dt-bindings: soundwire: add bindings for Qcom controller
  soundwire: qcom: add support for SoundWire controller

 .../bindings/soundwire/qcom,sdw.txt           | 179 ++++
 drivers/soundwire/Kconfig                     |   9 +
 drivers/soundwire/Makefile                    |   4 +
 drivers/soundwire/qcom.c                      | 904 ++++++++++++++++++
 4 files changed, 1096 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/soundwire/qcom,sdw.txt
 create mode 100644 drivers/soundwire/qcom.c

-- 
2.21.0

Comments

Rob Herring Nov. 5, 2019, 1:49 a.m. UTC | #1
On Wed, 30 Oct 2019 15:31:49 +0000, Srinivas Kandagatla wrote:
> This patch adds bindings for Qualcomm soundwire controller.

> 

> Qualcomm SoundWire Master controller is present in most Qualcomm SoCs

> either integrated as part of WCD audio codecs via slimbus or

> as part of SOC I/O.

> 

> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>

> ---

>  .../bindings/soundwire/qcom,sdw.txt           | 179 ++++++++++++++++++

>  1 file changed, 179 insertions(+)

>  create mode 100644 Documentation/devicetree/bindings/soundwire/qcom,sdw.txt

> 


Reviewed-by: Rob Herring <robh@kernel.org>