[PATCH] mfd: ab8500: add static linkage for battery info

2012-11-22 Thread Rajanikanth H . V
From: "Rajanikanth H.V" enforce static linkage for battery attributes structures this patch is against: "mfd-ab8500-add-devicetree-support-for-fuelgauge" Signed-off-by: Rajanikanth H.V --- drivers/power/ab8500_bmdata.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

Re: [PATCH 1/4] mfd: ab8500: add devicetree support for fuelgauge

2012-11-22 Thread Anton Vorontsov
On Fri, Nov 23, 2012 at 12:13:44AM +0530, Rajanikanth H.V wrote: [...] > +/* > + * Note that the batres_vs_temp table must be strictly sorted by falling > + * temperature values to work. > + */ > +struct batres_vs_temp temp_to_batres_tbl_thermistor[] = { It must be static. [..] > +struct batres_v

[PATCH 4/4] mfd: ab8500: add devicetree support for chargalg

2012-11-22 Thread Rajanikanth H.V
From: "Rajanikanth H.V" This patch adds device tree support for charging algorithm driver Signed-off-by: Rajanikanth H.V --- .../bindings/power_supply/ab8500/chargalg.txt | 16 ++ arch/arm/boot/dts/dbx5x0.dtsi |5 ++ drivers/mfd/ab8500-core.c

[PATCH 1/4] mfd: ab8500: add devicetree support for fuelgauge

2012-11-22 Thread Rajanikanth H.V
From: "Rajanikanth H.V" - 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 betwe

[PATCH 2/4] mfd: ab8500: add devicetree support for btemp

2012-11-22 Thread Rajanikanth H.V
From: "Rajanikanth H.V" This patch adds device tree support for battery-temperature-monitor driver Signed-off-by: Rajanikanth H.V --- Documentation/devicetree/bindings/mfd/ab8500.txt |6 ++ .../bindings/power_supply/ab8500/btemp.txt | 16 + arch/arm/boot/dts/dbx5x0.dtsi

[PATCH 3/4] mfd: ab8500: add devicetree support for charger

2012-11-22 Thread Rajanikanth H.V
From: "Rajanikanth H.V" This patch adds device tree support for ab8500-charger driver Signed-off-by: Rajanikanth H.V --- Documentation/devicetree/bindings/mfd/ab8500.txt | 14 .../bindings/power_supply/ab8500/charger.txt | 25 +++ arch/arm/boot/dts/dbx5x0.dtsi

[PATCH 0/4] Implement device tree support for ab8500 BM Devices

2012-11-22 Thread Rajanikanth H.V
From: "Rajanikanth H.V" This patch-set adds device tree binding for ab8500 battery-managed devices. Removes the redundant platform structure maintained across bm devices and implements common DT probe routine across all the modules. Test status: a) Tested across 'legacy platform data' and DT bin