arm: tegra: harmony: tps6586x: add rtc data
Preetham Chandru [Mon, 2 Jan 2012 13:10:19 +0000 (18:10 +0530)]
Add proper epoch and cap selection to rtc_data.

Bug: 921782
Change-Id: Ie408eaaa5239494230a36c1588bff601e176fba1
Reviewed-on: http://git-master/r/69838
Signed-off-by: Jong Kim <jongk@nvidia.com>
Signed-off-by: Preetham Chandru R <pchandru@nvidia.com>
Reviewed-on: http://git-master/r/72880
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Shashank Sharma <shashanks@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

arch/arm/mach-tegra/board-harmony-power.c

index 05e53af..a841b37 100644 (file)
@@ -219,6 +219,12 @@ static struct regulator_init_data ldo9_data = REGULATOR_INIT(ldo9, 1250, 3300);
 
 static struct tps6586x_rtc_platform_data rtc_data = {
        .irq = TEGRA_NR_IRQS + TPS6586X_INT_RTC_ALM1,
+       .start = {
+               .year = 2009,
+               .month = 1,
+               .day = 1,
+       },
+       .cl_sel = TPS6586X_RTC_CL_SEL_1_5PF /* use lowest (external 20pF cap) */
 };
 
 #define TPS_REG(_id, _data)                    \