commit | eccebd813874b748ac4e79a9fe4c7290117ad3be | [log] [tgz] |
---|---|---|
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | Thu Jun 15 12:58:23 2023 +0200 |
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | Wed Aug 16 01:27:01 2023 +0200 |
tree | 4681880861e2005aada4c68f7848dcac32357db4 | |
parent | 2caeb566baabb65add7d99ca6d8bfd566fe91582 [diff] |
rtc: isl12022: implement RTC_VL_READ ioctl Hook up support for reading the values of the SR_LBAT85 and SR_LBAT75 bits. Translate the former to "battery low", and the latter to "battery empty or not-present". Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> Link: https://lore.kernel.org/r/20230615105826.411953-6-linux@rasmusvillemoes.dk Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>