]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
power: supply: cpcap-battery: pass static battery cell data from device tree
authorSvyatoslav Ryhel <clamor95@gmail.com>
Fri, 30 Jan 2026 13:40:21 +0000 (15:40 +0200)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Tue, 3 Mar 2026 22:58:08 +0000 (23:58 +0100)
commitf0c8407c83a596dcb5aeaa940b1f8ed43631ae46
tree0f933822747775e0f1ca6a3ba707a408b361e540
parent95a1fa0b0034d11a05b6b858bd6418e2b1ccab0a
power: supply: cpcap-battery: pass static battery cell data from device tree

Add an option to populate battery cell properties from the device tree if
the driver cannot access the battery's NVMEM.

Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
Reviewed-by: Tony Lindgren <tony@atomide.com>
Link: https://patch.msgid.link/20260130134021.353688-3-clamor95@gmail.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/cpcap-battery.c