]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: rs5c372: Add RTC_VL_READ, RTC_VL_CLR ioctls
authorCamel Guo <camelg@axis.com>
Thu, 11 Nov 2021 08:36:25 +0000 (09:36 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 30 Nov 2021 23:05:42 +0000 (00:05 +0100)
commit80cc4a173b0946b9fca65872c64efff6e1c16d07
treeaf00c2cec6042e7df44dcd631f7bb1ba999557f6
parentbad68f6c0c96b209be688acd1511fc590315093b
rtc: rs5c372: Add RTC_VL_READ, RTC_VL_CLR ioctls

In order to make it possible to get battery voltage status, this commit
adds RTC_VL_READ, RTC_VL_CLR ioctl commands to rtc-rs5c372.

Signed-off-by: Camel Guo <camelg@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20211111083625.10216-1-camel.guo@axis.com
drivers/rtc/rtc-rs5c372.c