]> www.infradead.org Git - users/jedix/linux-maple.git/commit
power: supply: max1720x: add health property
authorDimitri Fedrau <dimitri.fedrau@liebherr.com>
Tue, 4 Feb 2025 13:10:31 +0000 (14:10 +0100)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Wed, 19 Feb 2025 23:27:50 +0000 (00:27 +0100)
commit4ad5c726706f056347ccce334874cc3ae1075e63
tree34faf4df30fce048938c8d3a359f15d949217fae
parent252e6671d6b7f037477becd4d2d9ff823c5ea5e0
power: supply: max1720x: add health property

Add health property, which checks that temperature, voltage and current are
within limits for the battery. Limits can be programmed in non-volatile
memory.

Signed-off-by: Dimitri Fedrau <dimitri.fedrau@liebherr.com>
Link: https://lore.kernel.org/r/20250204-max1720x_health-v1-1-97ebbe4a0bc5@liebherr.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/max1720x_battery.c