Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

rtc: Document RTC_VL_READ and RTC_VL_CLR ioctls

RTC_VL_READ and RTC_VL_CLR have been introduced in 2012 with commit
0f20b767e20a ("drivers/rtc/rtc-pcf8563.c: add RTC_VL_READ/RTC_VL_CLR ioctl
feature")

Document them now that they have been unified.

Link: https://lore.kernel.org/r/20191214220259.621996-3-alexandre.belloni@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>

+8
+8
Documentation/ABI/testing/rtc-cdev
··· 33 33 Requires a separate RTC_PIE_ON call to enable the periodic 34 34 interrupts. 35 35 36 + * RTC_VL_READ: Read the voltage inputs status of the RTC when 37 + supported. The value is a bit field of RTC_VL_*, giving the 38 + status of the main and backup voltages. 39 + 40 + * RTC_VL_CLEAR: Clear the voltage status of the RTC. Some RTCs 41 + need user interaction when the backup power provider is 42 + replaced or charged to be able to clear the status. 43 + 36 44 The ioctl() calls supported by the older /dev/rtc interface are 37 45 also supported by the newer RTC class framework. However, 38 46 because the chips and systems are not standardized, some PC/AT