]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc-pcf8523: add low battery voltage support
authorJesper Nilsson <jesper.nilsson@axis.com>
Wed, 20 Feb 2013 02:15:41 +0000 (13:15 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Feb 2013 05:53:24 +0000 (16:53 +1100)
commit5c7359863d7a5c834cbc7a6003b0d59b793d16dd
tree11d93cd849dd7f329bc083ccca9a09ea63abb675
parentc0841a279110baa31ae83b2e40d8d9274c97069f
rtc-pcf8523: add low battery voltage support

Implement reading of the battery voltage low signal for rtc-pcf8523.

The bit is read-only and cannot be cleared by software, so no
clear function is implemented.

Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
Reviewed-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/rtc/rtc-pcf8523.c