]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
max17042_battery: Add support for max17047/50 chip
authorRamakrishna Pallala <ramakrishna.pallala@intel.com>
Sat, 5 May 2012 09:04:26 +0000 (14:34 +0530)
committerAnton Vorontsov <anton.vorontsov@linaro.org>
Sun, 6 May 2012 03:28:11 +0000 (20:28 -0700)
commit9a8422d205ea142a27c2573e5ca3d2cc87d75260
tree0a9d95c9b45028a25c0b0d9b46d28d899253a9e4
parentb1f092f6480e0a9d8d5f99d3363e022952d1af83
max17042_battery: Add support for max17047/50 chip

max17047 is improved version of max17042 chip. It has few HW bug
fixes with minor changes in register set.

max17050 is same as max17047 chip except its silicon packging. So from
driver's point of view there is no difference btw max1047 and max1050.

This patch adds the support to dynamically detect the chip type and
adds steps to initialize the max17047 chip.

Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
drivers/power/Kconfig
drivers/power/max17042_battery.c
include/linux/power/max17042_battery.h