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 daco...@gmail.com wrote: Hi, On Fri, Feb 18, 2011 at 7:08 PM, Lesly A M lesl...@ti.com 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:

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 lesl...@ti.com wrote: snip +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) +              

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 balaj...@ti.com wrote: On Fri, Feb 18, 2011 at 10:38 PM, Lesly A M lesl...@ti.com wrote: snip +int twl5030_get_si_ver(u32 *value) +{ +       int ret = 0; +       static u32 twl_idcode; + +       if (twl_idcode == 0) +            

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 lesl...@ti.com 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 lesl...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick