Skip to content
Commit 33b514cb authored by Jonathan Bell's avatar Jonathan Bell Committed by Phil Elwell
Browse files

drivers: rtc-rpi: add battery charge circuit control and readback



Parse devicetree for a charger voltage and apply it. If nonzero and a
valid voltage, the firmware will enable charging, otherwise the charger
circuit is disabled.

Add sysfs attributes to read back the supported charge voltage range,
the measured battery voltage, and the charger setpoint.

Signed-off-by: default avatarJonathan Bell <jonathan@raspberrypi.com>
parent a7a3679a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment