aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-ux500/include
diff options
context:
space:
mode:
authorArun Murthy <arun.murthy@stericsson.com>2010-04-12 10:34:09 +0530
committerJohn Rigby <john.rigby@linaro.org>2010-09-02 22:45:00 -0600
commit27348453684089aea9db9e9ca0b03ee4cab3b9c1 (patch)
tree10f622ca35bd9f1f65d4dd87d69311036d552fb3 /arch/arm/mach-ux500/include
parentff2350c3c60e487ccd24619724ae07065f0a0544 (diff)
downloadlinux-2.6.34-ux500-27348453684089aea9db9e9ca0b03ee4cab3b9c1.tar.gz
Battery resistance from GPADC. Tested with Nokia BL-5F battery.
Task ID: 162883 Signed-off-by: Arun Murthy <arun.murthy@stericsson.com>
Diffstat (limited to 'arch/arm/mach-ux500/include')
-rw-r--r--arch/arm/mach-ux500/include/mach/ab8500_bm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/include/mach/ab8500_bm.h b/arch/arm/mach-ux500/include/mach/ab8500_bm.h
index bad1a7ee47a..92d360c38c1 100644
--- a/arch/arm/mach-ux500/include/mach/ab8500_bm.h
+++ b/arch/arm/mach-ux500/include/mach/ab8500_bm.h
@@ -114,4 +114,7 @@ struct ab8500_bm_platform_data {
#define MASK_USB_CHARGER_NOT_OK_F 0x80
#define UNMASK_USB_CHARGER_NOT_OK_F 0x7F
+/* Battery resistance */
+#define NOKIA_BL_5F 0x04
+
#endif /* _AB8500_BM_H */