[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

Re: [PATCH] mfd: Implement devicetree support for AB8500 fg

2012-09-15 Thread Francesco Lavra
Hi, On 09/10/2012 11:44 AM, Rajanikanth HV wrote: ... > +static int __devinit > +fg_of_probe(struct device *dev, > + struct device_node *np, > + struct abx500_bm_plat_data *bm_pdata) > +{ > + u8 val; > + u32 pval; > + int i; > + int ext_ther

Re: [PATCH] mfd: Implement devicetree support for AB8500 fg

2012-09-10 Thread Arnd Bergmann
On Monday 10 September 2012, Rajanikanth HV wrote: > +Required Properties: > +- compatible = "stericsson,ab8500-fg" > + > +supplied-to: > + This is a logical binding w.r.t power supply event change > + across energy-management-module drivers where in the > + runtime battery properties

[PATCH] mfd: Implement devicetree support for AB8500 fg

2012-09-10 Thread Rajanikanth HV
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 | 61 +++ arch/arm/boot/dts/dbx5x0.dtsi |8 + drivers/mfd/ab850