]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
arm64: config: enable RTC_BACKUP_HCTOSYS_DEVICE
authorJeetesh Burman <jburman@nvidia.com>
Fri, 11 Mar 2016 05:23:50 +0000 (10:53 +0530)
committermobile promotions <svcmobile_promotions@nvidia.com>
Tue, 15 Mar 2016 10:26:07 +0000 (03:26 -0700)
without RTC_BACKUP_HCTOSYS_DEVICE=rtc1, hctosys code reads RTCSEC from
tegra-rtc and resetting date to default date (01-01-2013) if date is
set above 2013-year from user.

enable CONFIG_RTC_BACKUP_HCTOSYS_DEVICE and set to rtc1, so that
system reads RTCSEC from pmic-rtc instead of tegra-rtc.

Bug 200179622

Change-Id: Ifaed98381a4d41bbf50ea24b2402b2e17aa2a12e
Signed-off-by: Jeetesh Burman <jburman@nvidia.com>
Reviewed-on: http://git-master/r/1029297
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
arch/arm64/configs/tegra21_defconfig

index 4b7818f8a1c9ad7a542fbf1cad0f085c1532a9ec..71b5d83dd24033166d1421a0f87251e588e79c96 100644 (file)
@@ -480,6 +480,7 @@ CONFIG_MMC_SDHCI_TEGRA=y
 CONFIG_MMC_RTPM=y
 CONFIG_SWITCH=y
 CONFIG_RTC_CLASS=y
+CONFIG_RTC_BACKUP_HCTOSYS_DEVICE="rtc1"
 CONFIG_RTC_DRV_MAX77620=y
 CONFIG_DMADEVICES=y
 CONFIG_TEGRA20_APB_DMA=y