]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
hwmon: Add KEBA battery monitoring controller support
authorGerhard Engleder <eg@keba.com>
Wed, 9 Apr 2025 19:08:30 +0000 (21:08 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 23 Apr 2025 14:18:27 +0000 (07:18 -0700)
commit7e581c193bde7d5ac49587d9a182e5d13e05547c
treed5f59f2415d978a550e346362b72df056dc9590b
parent0d01110e6356e95320091f36e3d7ce92fa597d1f
hwmon: Add KEBA battery monitoring controller support

The KEBA battery monitoring controller is found in the system FPGA of
KEBA PLC devices. It puts a load on the coin cell battery to check the
state of the battery. If the coin cell battery is nearly empty, then
the user space is signaled with a hwmon alarm.

The auxiliary device for this driver is instantiated by the cp500 misc
driver.

Signed-off-by: Gerhard Engleder <eg@keba.com>
Link: https://lore.kernel.org/r/20250409190830.60489-1-gerhard@engleder-embedded.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/hwmon/index.rst
Documentation/hwmon/kbatt.rst [new file with mode: 0644]
drivers/hwmon/Kconfig
drivers/hwmon/Makefile
drivers/hwmon/kbatt.c [new file with mode: 0644]