mbox series

[v5,0/7] ASoC: codecs: add support for LPASS Codec TX and RX macros

Message ID 20210211122735.5691-1-srinivas.kandagatla@linaro.org
Headers show
Series ASoC: codecs: add support for LPASS Codec TX and RX macros | expand

Message

Srinivas Kandagatla Feb. 11, 2021, 12:27 p.m. UTC
This patchset adds support for two Codec Macro blocks(TX and RX) available in
Qualcomm LPASS (Low Power Audio SubSystem).

There are WSA, VA, TX and RX Macros on LPASS IP, each of the Macro block
has specific connectivity like WSA Macros are intended to connect
to WSA Smart speaker codecs via SoundWire. VA Macro is intended for DMICs,
and TX/RX for Analog codecs via SoundWire like other WCD938x Codecs to provide
headphone/ear/lineout/amic/dmic etc ..

Most of the work is derived from downstream Qualcomm kernels.
Credits to various Qualcomm authors from Patrick Lai's team who have
contributed to this code.

This patchset has been tested on support to SM8250 MTP Development Board.
This board has 2 WSA881X smart speakers with onboard DMIC connected to
internal LPASS codec via WSA  and VA macros respectively and WCD938x
TX and RX connected via Soundwire via TX and RX Macros reseptively.

Thanks,
srini

Changes since v4:
	- One more ktest fix for unused-but-set-variable warning 
	 and a fix for W=2 warning and removed unused macros
	- added bindings ack from Rob

Srinivas Kandagatla (7):
  ASoC: qcom: dt-bindings: add bindings for lpass rx macro codec
  ASoC: codecs: lpass-rx-macro: add support for lpass rx macro
  ASoC: codecs: lpass-rx-macro: add dapm widgets and route
  ASoC: codecs: lpass-rx-macro: add iir widgets
  ASoC: qcom: dt-bindings: add bindings for lpass tx macro codec
  ASoC: codecs: lpass-tx-macro: add support for lpass tx macro
  ASoC: codecs: lpass-tx-macro: add dapm widgets and route

 .../bindings/sound/qcom,lpass-rx-macro.yaml   |   62 +
 .../bindings/sound/qcom,lpass-tx-macro.yaml   |   67 +
 sound/soc/codecs/Kconfig                      |   10 +
 sound/soc/codecs/Makefile                     |    4 +
 sound/soc/codecs/lpass-rx-macro.c             | 3599 +++++++++++++++++
 sound/soc/codecs/lpass-tx-macro.c             | 1862 +++++++++
 6 files changed, 5604 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/qcom,lpass-rx-macro.yaml
 create mode 100644 Documentation/devicetree/bindings/sound/qcom,lpass-tx-macro.yaml
 create mode 100644 sound/soc/codecs/lpass-rx-macro.c
 create mode 100644 sound/soc/codecs/lpass-tx-macro.c

-- 
2.21.0

Comments

Mark Brown Feb. 11, 2021, 3:38 p.m. UTC | #1
On Thu, 11 Feb 2021 12:27:28 +0000, Srinivas Kandagatla wrote:
> This patchset adds support for two Codec Macro blocks(TX and RX) available in

> Qualcomm LPASS (Low Power Audio SubSystem).

> 

> There are WSA, VA, TX and RX Macros on LPASS IP, each of the Macro block

> has specific connectivity like WSA Macros are intended to connect

> to WSA Smart speaker codecs via SoundWire. VA Macro is intended for DMICs,

> and TX/RX for Analog codecs via SoundWire like other WCD938x Codecs to provide

> headphone/ear/lineout/amic/dmic etc ..

> 

> [...]


Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/7] ASoC: qcom: dt-bindings: add bindings for lpass rx macro codec
      commit: f133de9e32374841c5ed1ad5cf18ed14098a0f4c
[2/7] ASoC: codecs: lpass-rx-macro: add support for lpass rx macro
      commit: af3d54b99764f0bdd83fcbd1895d23b83f8276be
[3/7] ASoC: codecs: lpass-rx-macro: add dapm widgets and route
      commit: 4f692926f562ff48abfcca6b16f36ff8d57473b6
[4/7] ASoC: codecs: lpass-rx-macro: add iir widgets
      commit: f3ce6f3c9a994d3fa5057cadfaa1d883e0d938fa
[5/7] ASoC: qcom: dt-bindings: add bindings for lpass tx macro codec
      commit: ca955cc980afc066a380567e371480634e48eb7e
[6/7] ASoC: codecs: lpass-tx-macro: add support for lpass tx macro
      commit: c39667ddcfc516fee084e449179d54430a558298
[7/7] ASoC: codecs: lpass-tx-macro: add dapm widgets and route
      commit: d207bdea0ca9efde321ff142e9b9f2ef73f9cdf5

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark