* [PATCH v2] arm64: dts: exynos: gs101-pixel-common: add Maxim MAX77759 fuel gauge
@ 2026-03-02 12:35 André Draszik
2026-03-06 7:00 ` André Draszik
2026-03-07 16:58 ` Krzysztof Kozlowski
0 siblings, 2 replies; 3+ messages in thread
From: André Draszik @ 2026-03-02 12:35 UTC (permalink / raw)
To: Peter Griffin, Tudor Ambarus, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Alim Akhtar
Cc: Juan Yescas, Amit Sunil Dhamne, kernel-team, linux-arm-kernel,
linux-samsung-soc, devicetree, linux-kernel, André Draszik
On Pixel 6 (and Pro), a MAX77759 companion PMIC for USB Type-C
applications is used, which contains four functional blocks (at
distinct I2C addresses):
* top (including GPIO & NVMEM)
* charger
* fuel gauge
* TCPCi
This change adds the fuel gauge.
Reviewed-by: Peter Griffin <peter.griffin@linaro.org>
Tested-by: Peter Griffin <peter.griffin@linaro.org>
Signed-off-by: André Draszik <andre.draszik@linaro.org>
---
Changes in v2:
- typo Maxin -> Maxim in subject
- collect tags
- Link to v1: https://lore.kernel.org/r/20260227-max77759-fg-dts-v1-1-16c5733e946c@linaro.org
---
For DT validation purposes, this patch depends on the binding updates
from https://lore.kernel.org/r/20260226-max77759-fg-v1-0-ff0a08a70a9f@linaro.org
They have been ACKed, but not merged yet.
---
.../boot/dts/exynos/google/gs101-pixel-common.dtsi | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/arch/arm64/boot/dts/exynos/google/gs101-pixel-common.dtsi b/arch/arm64/boot/dts/exynos/google/gs101-pixel-common.dtsi
index 93892adaa679..c01fec7c867d 100644
--- a/arch/arm64/boot/dts/exynos/google/gs101-pixel-common.dtsi
+++ b/arch/arm64/boot/dts/exynos/google/gs101-pixel-common.dtsi
@@ -225,6 +225,17 @@ usbc0_role_sw: endpoint {
};
};
+ fuel-gauge@36 {
+ compatible = "maxim,max77759-fg";
+ reg = <0x36>;
+
+ pinctrl-0 = <&if_pmic_fg_int>;
+ pinctrl-names = "default";
+ interrupts-extended = <&gpa9 3 IRQ_TYPE_LEVEL_LOW>;
+
+ shunt-resistor-micro-ohms = <5000>;
+ };
+
pmic@66 {
compatible = "maxim,max77759";
reg = <0x66>;
@@ -317,6 +328,13 @@ pmic_int: pmic-int-pins {
samsung,pin-pud = <GS101_PIN_PULL_NONE>;
};
+ if_pmic_fg_int: if-pmic-fg-int-pins {
+ samsung,pins = "gpa9-3";
+ samsung,pin-function = <GS101_PIN_FUNC_EINT>;
+ samsung,pin-pud = <GS101_PIN_PULL_UP>;
+ samsung,pin-drv = <GS101_PIN_DRV_2_5_MA>;
+ };
+
key_power: key-power-pins {
samsung,pins = "gpa10-1";
samsung,pin-function = <GS101_PIN_FUNC_EINT>;
---
base-commit: 3fa5e5702a82d259897bd7e209469bc06368bf31
change-id: 20260227-max77759-fg-dts-b12ebd5a90b3
Best regards,
--
André Draszik <andre.draszik@linaro.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2] arm64: dts: exynos: gs101-pixel-common: add Maxim MAX77759 fuel gauge
2026-03-02 12:35 [PATCH v2] arm64: dts: exynos: gs101-pixel-common: add Maxim MAX77759 fuel gauge André Draszik
@ 2026-03-06 7:00 ` André Draszik
2026-03-07 16:58 ` Krzysztof Kozlowski
1 sibling, 0 replies; 3+ messages in thread
From: André Draszik @ 2026-03-06 7:00 UTC (permalink / raw)
To: Peter Griffin, Tudor Ambarus, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Alim Akhtar
Cc: Juan Yescas, Amit Sunil Dhamne, kernel-team, linux-arm-kernel,
linux-samsung-soc, devicetree, linux-kernel
On Mon, 2026-03-02 at 12:35 +0000, André Draszik wrote:
> For DT validation purposes, this patch depends on the binding updates
> from https://lore.kernel.org/r/20260226-max77759-fg-v1-0-ff0a08a70a9f@linaro.org
> They have been ACKed, but not merged yet.
Just FYI, that series (including binding updates) has been merged and is available
in linux-next.
Cheers,
Andre'
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2] arm64: dts: exynos: gs101-pixel-common: add Maxim MAX77759 fuel gauge
2026-03-02 12:35 [PATCH v2] arm64: dts: exynos: gs101-pixel-common: add Maxim MAX77759 fuel gauge André Draszik
2026-03-06 7:00 ` André Draszik
@ 2026-03-07 16:58 ` Krzysztof Kozlowski
1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2026-03-07 16:58 UTC (permalink / raw)
To: Peter Griffin, Tudor Ambarus, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Alim Akhtar, André Draszik
Cc: Juan Yescas, Amit Sunil Dhamne, kernel-team, linux-arm-kernel,
linux-samsung-soc, devicetree, linux-kernel
On Mon, 02 Mar 2026 12:35:22 +0000, André Draszik wrote:
> On Pixel 6 (and Pro), a MAX77759 companion PMIC for USB Type-C
> applications is used, which contains four functional blocks (at
> distinct I2C addresses):
> * top (including GPIO & NVMEM)
> * charger
> * fuel gauge
> * TCPCi
>
> [...]
Applied, thanks!
[1/1] arm64: dts: exynos: gs101-pixel-common: add Maxim MAX77759 fuel gauge
https://git.kernel.org/krzk/linux/c/3d7bd20e026687db513887e4d066121cb0a49852
Best regards,
--
Krzysztof Kozlowski <krzk@kernel.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-03-07 16:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-03-02 12:35 [PATCH v2] arm64: dts: exynos: gs101-pixel-common: add Maxim MAX77759 fuel gauge André Draszik
2026-03-06 7:00 ` André Draszik
2026-03-07 16:58 ` Krzysztof Kozlowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®