]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc-pcf8523: add low battery voltage support
authorJesper Nilsson <jesper.nilsson@axis.com>
Thu, 7 Feb 2013 01:27:43 +0000 (12:27 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 18 Feb 2013 05:47:14 +0000 (16:47 +1100)
commit0a1a588c0851736a4a8cb400e68e607455df0a65
treecd0221ca94dbe4e758994316935d82788b807c62
parent4556c70ee419fe64e2925f532bc4d2463de76d17
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