]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
ARM: tegra:increase input current limit to 3A
authorVenkat Reddy Talla <vreddytalla@nvidia.com>
Fri, 8 Aug 2014 17:03:20 +0000 (22:33 +0530)
committerDhiren Parmar <dparmar@nvidia.com>
Fri, 24 Oct 2014 09:09:00 +0000 (02:09 -0700)
to increase typical hardware current limit from 1.8A to 2.0A,
setting input current limit to 3A through BQ register.

Bug 1540302

Change-Id: I2b6302935bb46dceb888158ab62fce04fa0360bc
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/542726
Reviewed-by: Dhiren Parmar <dparmar@nvidia.com>
Tested-by: Dhiren Parmar <dparmar@nvidia.com>
arch/arm/mach-tegra/board-ardbeg.c

index efbac8e44a83d8ce264788be5d0dcd5bc99d3184..2a643d766f6586abf606f05c2dd5dcbf482520c5 100644 (file)
@@ -685,8 +685,8 @@ static void ardbeg_usb_init(void)
                        tegra_udc_pdata.qc2_voltage = TEGRA_USB_QC2_9V;
                        tegra_udc_pdata.u_data.dev.qc2_current_limit_ma = 1200;
 
-                       /* charger needs to be set to 2A - h/w will do 1.8A */
-                       tegra_udc_pdata.u_data.dev.dcp_current_limit_ma = 2000;
+                       /* charger needs to be set to 3A - h/w will do 2A */
+                       tegra_udc_pdata.u_data.dev.dcp_current_limit_ma = 3000;
                }
 
                switch (bi.board_id) {