arm: tegra: pluto: fix charging parameters
Xin Xie [Thu, 2 May 2013 22:43:39 +0000 (15:43 -0700)]
Pluto now has voltage regulation loop in the charging current, so we can
safely set the maximum charging current from any charger now.

Also change the maximum charging voltage to 4.2v, so we can charge the
battery to full capacity.

bug 1281009

Change-Id: I30514acc0e2310df1113fc94c436dca4d8729474
Signed-off-by: Xin Xie <xxie@nvidia.com>
Reviewed-on: http://git-master/r/228076
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

arch/arm/mach-tegra/board-pluto-sensors.c

index 7b4c728..7439d16 100644 (file)
@@ -228,9 +228,9 @@ static struct max77665_charger_cable maxim_cable[] = {
 };
 
 static struct max77665_charger_plat_data max77665_charger = {
-       .fast_chg_cc = 1500, /* fast charger current*/
-       .term_volt = 3700, /* charger termination voltage */
-       .curr_lim = 1500, /* input current limit */
+       .fast_chg_cc = 2000, /* fast charger current*/
+       .term_volt = 4200, /* charger termination voltage */
+       .curr_lim = 2000, /* input current limit */
        .num_cables = MAX_CABLES,
        .cables = maxim_cable,
        .extcon_name = "tegra-udc",