OSDN Git Service

rtc: define RTC_VL_READ values
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 14 Dec 2019 22:02:43 +0000 (23:02 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 18 Dec 2019 09:37:18 +0000 (10:37 +0100)
commit3431ca4837bf7f2b816e4c439db5bb66e7586746
treef5154638098278b5a4c51a6fa09ed729075ffc04
parent3b52093dc9175f48b275a02919149a2dff3a386d
rtc: define RTC_VL_READ values

Currently, the meaning of the value returned by RTC_VL_READ is undocumented
and left to the driver implementation. In order to get more meaningful
values, define a set of values to use as to make clear to userspace what is
the status of the various voltages feeding the RTC.

Link: https://lore.kernel.org/r/20191214220259.621996-2-alexandre.belloni@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
include/uapi/linux/rtc.h