Files
Dom Cobley 2a5baf8019 rtc: rtc-rpi: Add simple RTC driver for Raspberry Pi
This supports setting and reading the real time clock
and supports wakeup alarms.

To support wake up alarms you want this bootloader config:
 POWER_OFF_ON_HALT=1
 WAKE_ON_GPIO=0

You can test with:
  echo +600 | sudo tee /sys/class/rtc/rtc0/wakealarm
  sudo halt

That will halt (in an almost no power state),
then wake and restart after 10 minutes.

Signed-off-by: Dom Cobley <popcornmix@gmail.com>

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: Jonathan Bell <jonathan@raspberrypi.com>
2024-07-29 14:46:30 +01:00
..
2024-03-08 12:05:10 +01:00
2022-06-24 21:24:02 +02:00
2022-06-24 21:24:02 +02:00
2024-01-18 01:00:21 +01:00
2023-10-15 23:01:08 +02:00
2021-04-29 23:03:26 +02:00
2021-10-01 23:28:28 +02:00
2023-04-26 11:40:26 +01:00
2020-12-03 23:43:23 +01:00