Message ID | 20250406-aw8898-v1-3-58a2d554693f@lucaweiss.eu (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | Add support for AW8898 Amplifier | expand |
On 06/04/2025 15:03, Luca Weiss wrote: > 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 <luca@lucaweiss.eu> > --- Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
On 4/6/25 3:03 PM, Luca Weiss wrote: > 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 <luca@lucaweiss.eu> > --- Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Konrad
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";
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 <luca@lucaweiss.eu> --- arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+)