Devicetree
 help / color / mirror / Atom feed
* [PATCH v2 0/2] ASoC: add Qualcomm WSA885X codec support
@ 2026-07-01 13:59 Prasad Kumpatla
  2026-07-01 13:59 ` [PATCH v2 1/2] dt-bindings: sound: add WSA8855 bindings Prasad Kumpatla
  2026-07-01 13:59 ` [PATCH v2 2/2] ASoC: codecs: add Qualcomm WSA885X codec driver Prasad Kumpatla
  0 siblings, 2 replies; 5+ messages in thread
From: Prasad Kumpatla @ 2026-07-01 13:59 UTC (permalink / raw)
  To: Srinivas Kandagatla, Liam Girdwood, Mark Brown, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Jaroslav Kysela, Takashi Iwai
  Cc: Srinivas Kandagatla, linux-arm-msm, linux-sound, devicetree,
	linux-kernel, Prasad Kumpatla

Add support for the Qualcomm WSA885X Stereo smart speaker amplifier
accessed over I2C.

The series first documents the WSA885X devicetree binding,
including supplies, GPIOs, Interrupt and battery configuration.

It then adds the ASoC codec driver with register programming, serial
interface setup, clock handling, mute and gain control, reset handling,
interrupt support, runtime TDM slot-count configuration, and stream-time
power-state sequencing.

validated speaker playback on Shikra and Hawi platforms.

Changes in v2:
	- Drop "-i2c" suffix from the binding filename.
	- Convert qcom,battery-config to string-based configuration with improved documentation.
	- Remove register/value initialization data from DT and move it to the driver.
	- Replace interrupt-gpios with interrupts.
	- Address all review comments and update the binding to follow upstream DT conventions.
	- Removed redundant GPIO abstraction layer and direct GPIO API wrapper.
	- Dropped unnecessary NULL checks on driver private data.
	- Switched regulator management to devm_regulator_get_enable().
	- Converted I2C device ID table entries to use named initializers.
	- Cleaned up code per review feedback and aligned with upstream kernel conventions.

Prasad Kumpatla (2):
  dt-bindings: sound: add WSA8855 bindings
  ASoC: codecs: add Qualcomm WSA885X codec driver

 .../bindings/sound/qcom,wsa8855.yaml          |   83 +
 sound/soc/codecs/Kconfig                      |   11 +
 sound/soc/codecs/Makefile                     |    2 +
 sound/soc/codecs/WSA885X.c                    | 1490 +++++++++++++++++
 4 files changed, 1586 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/qcom,wsa8855.yaml
 create mode 100644 sound/soc/codecs/WSA885X.c

-- 
2.34.1


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

end of thread, other threads:[~2026-07-01 16:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-01 13:59 [PATCH v2 0/2] ASoC: add Qualcomm WSA885X codec support Prasad Kumpatla
2026-07-01 13:59 ` [PATCH v2 1/2] dt-bindings: sound: add WSA8855 bindings Prasad Kumpatla
2026-07-01 16:39   ` Rob Herring (Arm)
2026-07-01 13:59 ` [PATCH v2 2/2] ASoC: codecs: add Qualcomm WSA885X codec driver Prasad Kumpatla
2026-07-01 14:14   ` sashiko-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox