rtc: tegra: backup hctosys device
authorKrishna Yarlagadda <kyarlagadda@nvidia.com>
Mon, 14 Dec 2015 10:15:16 +0000 (15:15 +0530)
committermobile promotions <svcmobile_promotions@nvidia.com>
Tue, 16 Feb 2016 06:52:02 +0000 (22:52 -0800)
commit8571d12cc54e7e1fea0f63c75b1d00d788016be8
treef82da18692951cfb49c4430bdc5992314365ee14
parent0d2c587672445626447df06978548215236ae594
rtc: tegra: backup hctosys device

RTC device used for system time needs to be battery backed.
Non-battery backed devices could lose time upon power reset.
However battery backed devices from external source will add delay
from interface and take more time.

Introduced a config option for slower battery backed rtc device that
will update faster system rtc device.

Bug 1698877

Change-Id: Ifd4884335fdd6c6e375f9bd52fb83fb5bb652adc
Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-on: http://git-master/r/922552
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
drivers/rtc/Kconfig
drivers/rtc/hctosys.c
drivers/rtc/rtc-dev.c
drivers/rtc/systohc.c
include/linux/rtc.h