ab8500: Add devicetree support for fuelgauge
authorRajanikanth H.V <rajanikanth.hv@stericsson.com>
Mon, 19 Nov 2012 02:45:41 +0000 (18:45 -0800)
committerAnton Vorontsov <anton.vorontsov@linaro.org>
Mon, 19 Nov 2012 03:37:04 +0000 (19:37 -0800)
commite0f1abeba5c2d8a2183566717d99294fd1a29c2e
treebf4b3582791d3e4baa298f4268cf2bbad8169b74
parente9f14c18b83ccf3ab291b83a1d6c640113ecf545
ab8500: Add devicetree support for fuelgauge

- This patch adds device tree support for fuelgauge driver
- optimize bm devices platform_data usage and of_probe(...)
  Note: of_probe() routine for battery managed devices is made
  common across all bm drivers.
- test status:
  - interrupt numbers assigned differs between legacy and FDT mode.

Signed-off-by: Rajanikanth H.V <rajanikanth.hv@stericsson.com>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Documentation/devicetree/bindings/mfd/ab8500.txt
Documentation/devicetree/bindings/power_supply/ab8500/fg.txt [new file with mode: 0644]
arch/arm/boot/dts/dbx5x0.dtsi
drivers/mfd/ab8500-core.c
drivers/power/Makefile
drivers/power/ab8500_bmdata.c [new file with mode: 0644]
drivers/power/ab8500_btemp.c
drivers/power/ab8500_charger.c
drivers/power/ab8500_fg.c
drivers/power/abx500_chargalg.c
include/linux/mfd/abx500.h