]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita31b6ded7376ceab8a85792f817924b1fbdf7711
treef5154638098278b5a4c51a6fa09ed729075ffc04
parent74836ec7f57b3598c1f5a5f0a58ab8397664a164
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