Re: [PATCH 3/5] arm64: dts: qcom: r0q: enable max77705 PMIC
From: Konrad Dybcio
Date: Thu Sep 25 2025 - 09:07:24 EST
On 9/20/25 3:46 AM, Eric Gonçalves wrote:
> The Samsung Galaxy S22 uses max77705 as its charger, fuelgauge and haptic
> PMIC, enable the fuelgauge and charger for now.
>
> Signed-off-by: Eric Gonçalves <ghatto404@xxxxxxxxx>
> ---
[...]
> +&i2c5 {
> + status = "okay";
> +
> + max77705_charger: charger@69 {
> + compatible = "maxim,max77705-charger";
> + reg = <0x69>;
Please use tabs consistently
> + monitored-battery = <&battery>;
> + interrupt-parent = <&tlmm>;
> + interrupts = <5 IRQ_TYPE_LEVEL_LOW>;
interrupts-extended = <&tlmm 5 IRQ...>, here and below
> + };
> +
> + fuel-gauge@36 {
> + reg = <0x36>;
sorting by unit address is welcome
> + compatible = "maxim,max77705-battery";
> + power-supplies = <&max77705_charger>;
> + interrupt-parent = <&tlmm>;
> + interrupts = <5 IRQ_TYPE_LEVEL_LOW>;
> + };
These nodes should be children of "maxim,max77705"
(see drivers/mfd/max77705.c)
Konrad