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/[email protected]/ Signed-off-by: Luca Weiss <[email protected]> --- 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/[email protected] --- 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 <[email protected]>

