[PATCH v2 0/3] Add support for AW8898 Amplifier

Luca Weiss posted 3 patches 3 months ago
.../devicetree/bindings/sound/awinic,aw8898.yaml   |  78 +++
arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts  |  20 +
sound/soc/codecs/Kconfig                           |  10 +
sound/soc/codecs/Makefile                          |   1 +
sound/soc/codecs/snd-soc-aw8898.c                  | 561 +++++++++++++++++++++
5 files changed, 670 insertions(+)
[PATCH v2 0/3] Add support for AW8898 Amplifier
Posted by Luca Weiss 3 months ago
Add devicetree bindings and a driver for the AW8898 Amplifier, and add
it to the devicetree for the Fairphone 3 smartphone.

Note, that this is the first audio driver I've worked on, so please
complain if something doesn't quite look right, it probably wasn't done
on purpose.

Unfortunately we can't wire up the full audio stack yet since the SoC
side is not upstream yet, the last revision from July 2024 can be found
here:

https://lore.kernel.org/linux-arm-msm/20240731-msm8953-msm8976-asoc-v3-0-163f23c3a28d@gmail.com/

Signed-off-by: Luca Weiss <luca@lucaweiss.eu>
---
Changes in v2:
- Make supplies required & use unevaluatedProperties in dt-schema
  (Krzysztof)
- Implement many suggestions from Mark in the driver, quite a major
  refactor, most of it is unraveling the initialization and using the
  proper callbacks
- Pick up tags
- Link to v1: https://lore.kernel.org/r/20250406-aw8898-v1-0-58a2d554693f@lucaweiss.eu

---
Luca Weiss (3):
      ASoC: dt-bindings: Document Awinic AW8898 amplifier
      ASoC: codecs: Add Awinic AW8898 amplifier driver
      arm64: dts: qcom: sdm632-fairphone-fp3: Add AW8898 amplifier

 .../devicetree/bindings/sound/awinic,aw8898.yaml   |  78 +++
 arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts  |  20 +
 sound/soc/codecs/Kconfig                           |  10 +
 sound/soc/codecs/Makefile                          |   1 +
 sound/soc/codecs/snd-soc-aw8898.c                  | 561 +++++++++++++++++++++
 5 files changed, 670 insertions(+)
---
base-commit: 1f5c752d94a7c3388dd562f5dd82f102ac7a3ffc
change-id: 20250406-aw8898-06988582d2e0

Best regards,
-- 
Luca Weiss <luca@lucaweiss.eu>