summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSyed Rafiuddin <srafiuddin@nvidia.com>2013-04-18 10:35:24 +0530
committerSimone Willett <swillett@nvidia.com>2013-04-18 14:22:28 -0700
commit54bcefe32147b03ff2ba69a386339867b4eafa03 (patch)
tree78d8d764459bc1905d68028f82a94b922aa77269 /include
parentd3bc73b90a4e49ca6eab36b98477180be8e0cfda (diff)
power: bq2419x: Smooth charging ramp-up
Add support to have a smooth charging current ramp-up. Bug 1262682 Change-Id: Ia1987172d416d17fde39ec2d428ca7b28f4a28c4 Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com> Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com> Reviewed-on: http://git-master/r/219614 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'include')
-rw-r--r--include/linux/power/bq2419x-charger.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/power/bq2419x-charger.h b/include/linux/power/bq2419x-charger.h
index f56c7331cf18..d2580dbd35d8 100644
--- a/include/linux/power/bq2419x-charger.h
+++ b/include/linux/power/bq2419x-charger.h
@@ -84,6 +84,8 @@
#define BQ2419x_NVCHARGER_INPUT_VOL_SEL 0x40
#define BQ2419x_DEFAULT_INPUT_VOL_SEL 0x30
+#define BQ2419x_CHARGING_CURRENT_STEP_DELAY_US 1000
+
#define BQ2419X_MAX_REGS (BQ2419X_REVISION_REG + 1)
/*