Add a node for the amplifier found on Fairphone 3, receiving sound via I2S from the SoC and being connected to the speaker.
Signed-off-by: Luca Weiss <l...@lucaweiss.eu> --- arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts b/arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts index 31ed26c31e6ea381a8942ccf569513df3300cdeb..ef6f8c2bb4a5eb8e93aba0a4cbfce5f8ae2ba21a 100644 --- a/arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts +++ b/arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts @@ -81,6 +81,26 @@ nfc@28 { }; }; +&i2c_6 { + status = "okay"; + + aw8898: audio-amplifier@34 { + compatible = "awinic,aw8898"; + reg = <0x34>; + + reset-gpios = <&tlmm 21 GPIO_ACTIVE_LOW>; + interrupts-extended = <&tlmm 20 IRQ_TYPE_LEVEL_HIGH>; + + dvdd-supply = <&pm8953_l5>; + vddio-supply = <&pm8953_l5>; + vdd-supply = <&vph_pwr>; + + #sound-dai-cells = <0>; + }; + + /* Fairphone 3+ only: Speaker amp TAS2557 @ 4c */ +}; + &lpass { firmware-name = "qcom/msm8953/fairphone/fp3/adsp.mbn"; -- 2.49.0