Devicetree
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: sprd: Add SC2731 FGU calibration resistance
@ 2026-11-03 22:43 Rob Herring (Arm)
  0 siblings, 0 replies; only message in thread
From: Rob Herring (Arm) @ 2026-11-03 22:43 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Conor Dooley, Orson Zhai, Baolin Wang,
	Chunyan Zhang
  Cc: devicetree, linux-kernel

The SC27XX fuel-gauge schema driver both require
'sprd,calib-resistance-micro-ohms' property. The SC2731 PMIC binding
example documents the coulomb-counter resistance as 21500 micro-ohms, so
use that.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
---
 arch/arm64/boot/dts/sprd/sc2731.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/sprd/sc2731.dtsi b/arch/arm64/boot/dts/sprd/sc2731.dtsi
index 458685b82462..5868b98113d5 100644
--- a/arch/arm64/boot/dts/sprd/sc2731.dtsi
+++ b/arch/arm64/boot/dts/sprd/sc2731.dtsi
@@ -102,6 +102,7 @@ pmic_fgu: fuel-gauge@a00 {
 			io-channel-names = "bat-temp", "charge-vol";
 			nvmem-cell-names = "fgu_calib";
 			nvmem-cells = <&fgu_calib>;
+			sprd,calib-resistance-micro-ohms = <21500>;
 			interrupt-parent = <&sc2731_pmic>;
 			interrupts = <4>;
 			status = "disabled";
-- 
2.53.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-03 22:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-03 22:43 [PATCH] arm64: dts: sprd: Add SC2731 FGU calibration resistance Rob Herring (Arm)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox