OSDN Git Service

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)
commitf601aa7930669439623dd266fc9e90b0218b42c1
treeaf00c2cec6042e7df44dcd631f7bb1ba999557f6
parentfa55b7dcdc43c1aa1ba12bca9d2dd4318c2a0dbf
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