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 v4:
- Addressed comments from sashkio - Fix ASoC component/IRQ registration race condition.
- Addressed comments from sashkio - Mark SDCA_COMMIT register as volatile.
- Addressed comments from sashkio - Fix I2S TDM RX slot mask configuration for STEREO mode.
- Link for v3: https://lore.kernel.org/linux-arm-msm/20260709175915.3805851-1-prasad.kumpatla@oss.qualcomm.com/
changes in v3:
- Addressed comments from sashkio.
- Addressed Mark comments and Updated the sample rate which are validated.
- Addressed Krzysztof comments, added support for shared gpio pin.
- Link for v2: https://lore.kernel.org/linux-arm-msm/20260701135913.1641328-1-prasad.kumpatla@oss.qualcomm.com/
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.
- Link for v1: https://lore.kernel.org/linux-arm-msm/20260610155708.151067-3-prasad.kumpatla@oss.qualcomm.com/
This series depends on:
- https://lore.kernel.org/all/20260707-dt-bindings-qcom-soc-naming-v2-4-1b7d695be2e1@oss.qualcomm.com/
Prasad Kumpatla (2):
ASoC: dt-bindings: qcom,wsa8855: add Qualcomm WSA8855 speaker
amplifier
ASoC: codecs: add Qualcomm WSA885X codec driver
.../bindings/sound/qcom,wsa8855.yaml | 93 +
sound/soc/codecs/Kconfig | 11 +
sound/soc/codecs/Makefile | 2 +
sound/soc/codecs/wsa885x.c | 1533 +++++++++++++++++
4 files changed, 1639 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sound/qcom,wsa8855.yaml
create mode 100644 sound/soc/codecs/wsa885x.c
--
2.34.1