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

2012-07-02 Thread Rajanikanth HV
currently i am using "SonyEricsson BST41", 3.6v. 1500mAh, 5.4w Thanks, Rajanikanth On 2 July 2012 14:30, Lee Jones wrote: > On 29/06/12 20:44, Rajanikanth HV wrote: >> >> thanks for your review comments, i will post it on public branch, >> how about a revie

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

2012-07-02 Thread Rajanikanth HV
how will you accommodate new battery types information then? Thanks, Rajanikanth On 2 July 2012 15:55, Lee Jones wrote: > On 02/07/12 10:49, Rajanikanth HV wrote: >> >> In order to accommodate allowable Batteries with in the ab8500 parameters >> limit battery type informat

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

2012-07-13 Thread Rajanikanth HV
> Date: Tue, 10 Jul 2012 18:20:13 +0200 > From: Lee Jones > To: "Rajanikanth H.V" > Cc: STEricsson_nomadik_linux , > linaro-dev@lists.linaro.org, linux-ker...@vger.kernel.org, > linux-arm-ker...@lists.infradead.org, patc...@linaro.org > Subject: Re: [PATCH] mfd: Implement devicetr

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

2012-07-13 Thread Rajanikanth HV
> Date: Tue, 10 Jul 2012 14:12:01 + > From: Arnd Bergmann > To: linux-arm-ker...@lists.infradead.org > Cc: linaro-dev@lists.linaro.org, linux-ker...@vger.kernel.org, > "Rajanikanth H.V" , patc...@linaro.org > Subject: Re: [PATCH] mfd: Implement devicetree support for AB8500 > B

[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

mfd: Implement devicetree support for AB8500 Btemp

2012-09-10 Thread Rajanikanth HV
This patch adds device tree support for battery temperature monitor driver Signed-off-by: Rajanikanth H.V --- .../bindings/power_supply/ab8500/btemp.txt | 52 ++ arch/arm/boot/dts/dbx5x0.dtsi |8 + drivers/mfd/ab8500-core.c |1 +

Re: mfd: Implement devicetree support for AB8500 Btemp

2012-09-11 Thread Rajanikanth HV
On Monday 10 September 2012 07:31 PM, Arnd Bergmann wrote: > On Monday 10 September 2012, Rajanikanth HV wrote: >> + >> +supplied-to: >> + This is a logical binding w.r.t power supply event change >> + across energy-management-module drivers where in the

Re: Implement devicetree support for AB8500 Btemp

2012-09-12 Thread Rajanikanth HV
On Tuesday 11 September 2012 04:52 PM, Arnd Bergmann wrote: > On Tuesday 11 September 2012, Rajanikanth HV wrote: >>>> +Supplied-to: >>>> + This shall be power supply class dependency where in the >> runtime battery >>>> + properties

Re: Implement devicetree support for AB8500 Btemp

2012-09-13 Thread Rajanikanth HV
On Wednesday 12 September 2012 09:06 PM, Arnd Bergmann wrote: > On Wednesday 12 September 2012, Rajanikanth HV wrote: >> On Tuesday 11 September 2012 04:52 PM, Arnd Bergmann wrote: >>> On Tuesday 11 September 2012, Rajanikanth HV wrote: > >

Re: Implement devicetree support for AB8500 Btemp

2012-09-14 Thread Rajanikanth HV
On Friday 14 September 2012 01:39 PM, Arnd Bergmann wrote: > On Friday 14 September 2012, Anton Vorontsov wrote: >> Power supply subsystem's supplied_to describes not just how driver >> should notify other devices, supplied_to is more generic stuff, in terms >> that it describes power supply hiera

Re: Implement devicetree support for AB8500 Btemp

2012-09-14 Thread Rajanikanth HV
On Thursday 13 September 2012 08:07 PM, Arnd Bergmann wrote: > On Thursday 13 September 2012, Rajanikanth HV wrote: >> On Wednesday 12 September 2012 09:06 PM, Arnd Bergmann wrote:> > >>> If this is true, I don't understand what makes the 'supplied-to' >

Re: A few more snowballs

2012-09-26 Thread Rajanikanth HV
did u check with calao system's hardware engineer? On 26 September 2012 15:48, Dave Pigott wrote: > Hi all, > > I Thought I'd let you know that we now have 5 more ST-Ericsson Snowball V11 > PDKs in LAVA. They went live yesterday afternoon. In total we now have 10 > snowballs but only 8 are availa

Re: linaro-dev Digest, Vol 29, Issue 62

2012-10-23 Thread Rajanikanth HV
>> diff --git a/drivers/power/ab8500_fg.c b/drivers/power/ab8500_fg.c >> index bf02225..ff64dd4 100644 >> --- a/drivers/power/ab8500_fg.c >> +++ b/drivers/power/ab8500_fg.c >> @@ -22,15 +22,16 @@ [...] >> >> #define MILLI_TO_MICRO 1000 >> #define FG_LSB_IN_MA

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

2012-10-27 Thread Rajanikanth HV
On 27 October 2012 20:37, Francesco Lavra wrote: > On 10/25/2012 08:30 AM, Rajanikanth H.V wrote: >> From: "Rajanikanth H.V" >> + bat_tech = of_get_property(np_bat_supply, >> + "stericsson,battery-type", NULL); >> + if (!bat_tech) >> + dev_warn(dev, "missin

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

2012-11-15 Thread Rajanikanth HV
On Saturday 10 November 2012 10:23 PM, Francesco Lavra wrote: >>> I don't get the point of declaring the char array and copying the string >>> in it, when you could simply use just the pointer returned by >>> of_get_property(). >> >> I am considering a corner case where in 'battery-type' property

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

2012-11-18 Thread Rajanikanth HV
> On 19 November 2012 09:16, Anton Vorontsov wrote: > (But I'm bouncing the patches to Samuel and Mark anyway, jfyi.) > > p.s. > > FWIW, I fixed these warnings. > > CHECK drivers/power/ab8500_bmdata.c > drivers/power/ab8500_bmdata.c:146:23: warning: symbol > 'temp_to_batres_tbl_thermistor' wa

Re: [PATCH Resend V2] dt: add helper function to read u8 & u16 variables & arrays

2012-11-18 Thread Rajanikanth HV
On 19 November 2012 09:24, Viresh Kumar wrote: > On 12 November 2012 09:03, Viresh Kumar wrote: >> On 12 November 2012 01:12, Rob Herring wrote: >>> I don't think the size is stored in the dtb. It is only in the dts. You >>> need to define the size in the binding definitions and use '/bits/' >>>

Re: [PATCH Resend V2] dt: add helper function to read u8 & u16 variables & arrays

2012-11-18 Thread Rajanikanth HV
On 19 November 2012 12:00, Viresh Kumar wrote: > Firstly you tried square braces [ ], I am not sure if that is allowed. > Can you point me to the specification? http://www.devicetree.org/Device_Tree_Usage " a-byte-data-property = [0x01 0x23 0x34 0x56]; " > > And simply passing 0x50, 0x60 etc.. wil