Skip to content

rtc: ab-eoz9: fix the undervoltage handling

Maxime Chevallier linux-rtc lkml 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2rtc: ab-eoz9: check the lowest voltage threshold firstdrivers/rtc/rtc-ab-eoz9.c+4 -40 replies
2/2rtc: ab-eoz9: don't fail temperature reads on undervoltage notificationdrivers/rtc/rtc-ab-eoz9.c+0 -71 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] rtc: ab-eoz9: fix the undervoltage handling

The AB EOZ9 can report if there are undervoltage conditions encountered while the RTC is maintaining the date and time. This is useful when a device is stored for a long amount of time without being used, to know how reliable the reported date and time are at reboot.

Patch 1 reworks the user report of undervoltages by checking the lowest threshold first.

Patch 2 makes so that we don't fail the temperature readout, as when the system is currently running, the RTC battery should be at a nominal voltage. Temperature-related undervoltage reports are about what happened while the system was down, and not about the current state of the power supply.

Maxime Chevallier (2):
rtc: ab-eoz9: check the lowest voltage threshold first
rtc: ab-eoz9: don't fail temperature reads on undervoltage
notification

 drivers/rtc/rtc-ab-eoz9.c | 15 ++++-----------
 1 file changed, 4 insertions(+), 11 deletions(-)
Signature · 1 line
2.47.0