[PATCH v2 0/2] ASoC: add Qualcomm WSA885X codec support

From: Prasad Kumpatla

Date: Wed Jul 01 2026 - 10:07:42 EST


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