[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250102-b4-gs101_max77759_fg-v2-0-87959abeb7ff@uclouvain.be>
Date: Thu, 02 Jan 2025 12:15:02 +0100
From: Thomas Antoine via B4 Relay <devnull+t.antoine.uclouvain.be@...nel.org>
To: Sebastian Reichel <sre@...nel.org>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, Dimitri Fedrau <dima.fedrau@...il.com>,
Catalin Marinas <catalin.marinas@....com>, Will Deacon <will@...nel.org>,
Peter Griffin <peter.griffin@...aro.org>,
Alim Akhtar <alim.akhtar@...sung.com>,
André Draszik <andre.draszik@...aro.org>
Cc: linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-samsung-soc@...r.kernel.org, Thomas Antoine <t.antoine@...ouvain.be>
Subject: [PATCH v2 0/4] Google Pixel 6 (oriole): max77759 fuel gauge
enablement and driver support
The Google Pixel 6 has a Maxim max77759 which provides a fuel gauge with
an interface with a lot in common with the Maxim max1720x.
Modify the Maxim max1720x driver to be compatible with the Maxim max77759 and
enable it for the gs101-oriole board.
Signed-off-by: Thomas Antoine <t.antoine@...ouvain.be>
---
Changes in v2:
- Add fallback for voltage measurement (André Draszik)
- Add regmap for the max77759 (André Draszik)
- Add chip identification for the max77759 (André Draszik, Peter Griffin)
- Move RSense value to a devicetree property shunt-resistor-micro-ohms
(Dimitri Fedrau, André Draszik)
- Use allOf:if to narrow binding per variant (Krzysztof Kozlowski)
- Remove binding example (Krzysztof Kozlowski)
- Change defconfig order to follow savedefconfig (Krzysztof Kozlowski)
- Fix style errors
- Link to v1: https://lore.kernel.org/r/20241202-b4-gs101_max77759_fg-v1-0-98d2fa7bfe30@uclouvain.be
---
Thomas Antoine (4):
power: supply: add support for max77759 fuel gauge
dt-bindings: power: supply: add max77759-fg flavor
arm64: defconfig: enable Maxim max1720x driver
arm64: dts: exynos: gs101-oriole: enable Maxim max77759 fuel gauge
.../bindings/power/supply/maxim,max17201.yaml | 56 ++++--
arch/arm64/boot/dts/exynos/google/gs101-oriole.dts | 10 ++
arch/arm64/configs/defconfig | 1 +
drivers/power/supply/max1720x_battery.c | 189 ++++++++++++++++++---
4 files changed, 218 insertions(+), 38 deletions(-)
---
base-commit: 12e0a4072e8edc49c99418a4303bd7b96916de95
change-id: 20241202-b4-gs101_max77759_fg-402e231a4b33
Best regards,
--
Thomas Antoine <t.antoine@...ouvain.be>
Powered by blists - more mailing lists