Re: [PATCH 09/12] omap3: pm: TWL5030 version checking

2011-02-21 Thread Manuel, Lesly Arackal
On Mon, Feb 21, 2011 at 5:44 PM, Krishnamoorthy, Balaji T wrote: > On Fri, Feb 18, 2011 at 10:38 PM, Lesly A M wrote: > > > >> +int twl5030_get_si_ver(u32 *value) >> +{ >> +       int ret = 0; >> +       static u32 twl_idcode; >> + >> +       if (twl_idcode == 0) >> +               ret = twl_rea

Re: [PATCH 09/12] omap3: pm: TWL5030 version checking

2011-02-21 Thread Krishnamoorthy, Balaji T
On Fri, Feb 18, 2011 at 10:38 PM, Lesly A M wrote: > +int twl5030_get_si_ver(u32 *value) > +{ > +       int ret = 0; > +       static u32 twl_idcode; > + > +       if (twl_idcode == 0) > +               ret = twl_read_idcode_register(&twl_idcode); > +       if (ret) > +               pr_err("T

Re: [PATCH 09/12] omap3: pm: TWL5030 version checking

2011-02-21 Thread Manuel, Lesly Arackal
Hi David, On Sat, Feb 19, 2011 at 5:21 AM, David Cohen wrote: > Hi, > > On Fri, Feb 18, 2011 at 7:08 PM, Lesly A M wrote: >> Added api to get the TWL5030 Si version from the IDCODE register. >> It is used for enabling the workaround for TWL errata 27. >> >> Signed-off-by: Lesly A M >> Cc: Nisha

Re: [PATCH 09/12] omap3: pm: TWL5030 version checking

2011-02-18 Thread David Cohen
Hi, On Fri, Feb 18, 2011 at 7:08 PM, Lesly A M wrote: > Added api to get the TWL5030 Si version from the IDCODE register. > It is used for enabling the workaround for TWL errata 27. > > Signed-off-by: Lesly A M > Cc: Nishanth Menon > Cc: David Derrick > Cc: Samuel Ortiz > --- >  drivers/mfd/t

[PATCH 09/12] omap3: pm: TWL5030 version checking

2011-02-18 Thread Lesly A M
Added api to get the TWL5030 Si version from the IDCODE register. It is used for enabling the workaround for TWL errata 27. Signed-off-by: Lesly A M Cc: Nishanth Menon Cc: David Derrick Cc: Samuel Ortiz --- drivers/mfd/twl-core.c | 50 +++ includ