rtc: rx8111: handle VLOW flag
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 17 Apr 2024 19:19:36 +0000 (21:19 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 7 May 2024 21:40:10 +0000 (23:40 +0200)
commiteca1b3c2e7ff2364628fc6b1a136d341b8670823
tree486c216cb47f11b339e4d2658ec922fa5a0b808b
parentb7ff9efebc71eb7ded3ec2ce63e35a0675937fe1
rtc: rx8111: handle VLOW flag

Allow userspace to get battery status information and be able to warn when
battery is low and has to be replaced.

Tested-by: Waqar Hameed <waqar.hameed@axis.com>
Reviewed-by: Waqar Hameed <waqar.hameed@axis.com>
Link: https://lore.kernel.org/r/20240417191937.33790-2-alexandre.belloni@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-rx8111.c