[PATCH] ab8500: btemp: demote initcall sequence

2013-01-22 Thread Rajanikanth H . V
From: "Rajanikanth H.V" Power supply subsystem creates thermal zone device for the property 'POWER_SUPPLY_PROP_TEMP' which requires thermal subsystem to be ready before 'ab8500 battery temperature monitor' driver is initialized. ab8500 btemp driver is initialized with subsys_initcall whereas ther

[PATCH 1/2 v2] ab8500: Remove initial "UNKNOWN" battery-type string assignment

2012-12-04 Thread Rajanikanth H . V
From: "Rajanikanth H.V" DT property 'stericsson,battery-type' shall be one of supported technology type Acked-by: Lee Jones Signed-off-by: Rajanikanth H.V --- drivers/power/ab8500_bmdata.c | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/drivers/power/ab8500_b

[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-07 Thread Rajanikanth H V
On Thu, 1 Nov 2012, Francesco Lavra wrote: [...] + btech = of_get_property(np_bat_supply, + "stericsson,battery-type", NULL); + if (!btech) { + dev_warn(dev, "missing property battery-name/type\n"); + strcpy(bat_tech, "UNKNOWN"); + } els

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

2012-10-24 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 0/4] Implement device tree support for ab8500 BM Devices

2012-10-24 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

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

2012-10-24 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-10-24 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 4/4] mfd: ab8500: add devicetree support for chargalg

2012-10-24 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] mfd: ab8500: add devicetree support for fuelgauge

2012-10-15 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 1/4] mfd: ab8500: add devicetree support for fuelgauge

2012-09-30 Thread Rajanikanth H . V
From: "Rajanikanth H.V" - This patch adds device tree support for fuelguage 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. Signed-off-by: Rajanikanth H.V --- Documentation/devicet

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

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

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

2012-09-30 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 |7 ++- .../bindings/power_supply/ab8500/btemp.txt | 29 +++ arch/arm/boot/dts/dbx5x0.d

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

2012-09-30 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 | 36 drivers/mfd/ab8500-core.c |1 + drivers/power/abx500_chargalg.c

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

2012-09-30 Thread Rajanikanth H . V
From: "Rajanikanth H.V" This patch-set adds device tree support for ab8500 battery-managed devices. This removes the redundant platform structure maintained across bm devices and implements common DT probe routine across all the modules. Rajanikanth H.V (4): mfd: ab8500: add devicetree support

[PATCH] mfd: Implement devicetree support for AB8500 fg

2012-09-23 Thread Rajanikanth H . V
From: "Rajanikanth H.V" This patch adds device tree support for fuel guage driver Signed-off-by: Rajanikanth H.V --- Documentation/devicetree/bindings/mfd/ab8500.txt |8 +- .../devicetree/bindings/power_supply/ab8500/fg.txt | 86 arch/arm/boot/dts/dbx5x0.dtsi

[PATCH] mfd: Implement devicetree support for AB8500 Btemp

2012-07-10 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 --- .../bindings/power_supply/ab8500/btemp.txt | 54 ++ arch/arm/boot/dts/db8500.dtsi | 17 + arch/arm/mach-ux500/Makefile

[PATCH] [RFC]: mfd: Implement DT Support for AB8500 Btemp and fg

2012-06-29 Thread Rajanikanth H . V
From: "Rajanikanth H.V" This patch addes device tree support for battery temperature and fuel guage driver Signed-off-by: Rajanikanth H.V --- .../bindings/power_supply/ab8500/ab8500-btemp.txt | 209 + .../bindings/power_supply/ab8500/ab8500-fg.txt | 51 +++