Re: Problems while designing TPS65023 regulator driver

2009-04-24 Thread Trilok Soni
Hi David, On Fri, Apr 24, 2009 at 3:47 AM, David Brownell davi...@pacbell.net wrote: On Thursday 23 April 2009, Trilok Soni wrote: Any updates on tps65023 regulator driver? Could you please submit the WIP patches to the list? FWIW, here's the last version I saw ... it includes a build hack

RE: Problems while designing TPS65023 regulator driver

2009-04-24 Thread Aggarwal, Anuj
-Original Message- From: Trilok Soni [mailto:soni.tri...@gmail.com] Sent: Friday, April 24, 2009 11:32 AM To: David Brownell Cc: Aggarwal, Anuj; Mark Brown; linux-omap@vger.kernel.org; Tony Lindgren Subject: Re: Problems while designing TPS65023 regulator driver Hi David, On Fri, Apr 24

Re: Problems while designing TPS65023 regulator driver

2009-04-24 Thread David Brownell
On Thursday 23 April 2009, Trilok Soni wrote: Thanks but I was requesting tps 6 5 0 2 3 not tps 6 2 3 5 x  :). Sorry ... maybe they'll help some other time. :) I was wondering what happened to the tps6235x drivers, which seemed to have gotten lost. I don't recall having seen tps65023 code.

RE: Problems while designing TPS65023 regulator driver

2009-04-24 Thread Aggarwal, Anuj
Incorporated PSP Products RSS Feed -Original Message- From: David Brownell [mailto:davi...@pacbell.net] Sent: Friday, April 24, 2009 12:03 PM To: Trilok Soni Cc: Aggarwal, Anuj; Mark Brown; linux-omap@vger.kernel.org; Tony Lindgren Subject: Re: Problems while designing TPS65023

Re: Problems while designing TPS65023 regulator driver

2009-04-23 Thread Trilok Soni
Hi Anuj, On Sat, Apr 4, 2009 at 5:35 AM, Tony Lindgren t...@atomide.com wrote: * Mark Brown broo...@sirena.org.uk [090403 01:53]: On Fri, Apr 03, 2009 at 01:33:58PM +0530, Aggarwal, Anuj wrote: I could not find the commit in linux-OMAP git where the init data is passed as a parameter to

Re: Problems while designing TPS65023 regulator driver

2009-04-23 Thread David Brownell
On Thursday 23 April 2009, Trilok Soni wrote: Any updates on tps65023 regulator driver? Could you please submit the WIP patches to the list? FWIW, here's the last version I saw ... it includes a build hack for the regulator_register() call. I haven't build-tested it since that API change went

Re: Problems while designing TPS65023 regulator driver

2009-04-03 Thread Tony Lindgren
* Mark Brown broo...@sirena.org.uk [090403 01:53]: On Fri, Apr 03, 2009 at 01:33:58PM +0530, Aggarwal, Anuj wrote: I could not find the commit in linux-OMAP git where the init data is passed as a parameter to the regulator_register(). I am dependent on this commit for my TPS65023

Re: Problems while designing TPS65023 regulator driver

2009-03-10 Thread Mark Brown
On Mon, Mar 09, 2009 at 04:45:26PM -0800, David Brownell wrote: On Sunday 08 March 2009, Mark Brown wrote: - Regulators not marked as boot_on or always_on won't be active (and usecount will be 0) on return from setup. This breaks the idea that we don't do anything unless explictly

Re: Problems while designing TPS65023 regulator driver

2009-03-09 Thread David Brownell
On Sunday 08 March 2009, Mark Brown wrote: On Sun, Mar 08, 2009 at 12:54:35PM -0800, David Brownell wrote: but the bootloader turned the regulator on, then drivers can't disable the regulator (on penalty of a stackdump!) unless they issue a spurious/pointless/undesirable enable()

Re: Problems while designing TPS65023 regulator driver

2009-03-08 Thread Mark Brown
On Sun, Mar 08, 2009 at 12:54:35PM -0800, David Brownell wrote: but the bootloader turned the regulator on, then drivers can't disable the regulator (on penalty of a stackdump!) unless they issue a spurious/pointless/undesirable enable() beforehand ... We can't easily have both reference

Re: Problems while designing TPS65023 regulator driver

2009-03-07 Thread Mark Brown
On Fri, Mar 06, 2009 at 04:07:16PM -0800, David Brownell wrote: The boot_on semantics are kind of odd then ... What I thought they meant: Bootloader turned this on. That's still roughly the case, though in practice there's no actual need to do this for the vast majority of regulators since

Re: Problems while designing TPS65023 regulator driver

2009-03-06 Thread Mark Brown
On Thu, Mar 05, 2009 at 05:33:55PM +0530, Aggarwal, Anuj wrote: [Please fix your mail client to wrap lines at ~80 columns - not doing so makes your mails much harder to read and reply to.] But still when I call regulator_disable() after doing a _get() on it, the call fails saying unbalanced

RE: Problems while designing TPS65023 regulator driver

2009-03-05 Thread Aggarwal, Anuj
: linux-omap@vger.kernel.org Subject: Re: Problems while designing TPS65023 regulator driver On Thu, Feb 26, 2009 at 02:41:54PM +0530, Aggarwal, Anuj wrote: Since all the five regulators can be controlled using a single i2c device, I made a single i2c_board_info structure in my platform

Problems while designing TPS65023 regulator driver

2009-02-26 Thread Aggarwal, Anuj
Hi, I am working on TPS65023 PMIC (http://focus.ti.com/docs/prod/folders/print/tps65023.html) regulator driver. It supports 3 step-down converters and 2 LDOs, all connected to the same I2C device. I am facing some design related issues and need your opinion on the same. Since all the five

Re: Problems while designing TPS65023 regulator driver

2009-02-26 Thread Mark Brown
On Thu, Feb 26, 2009 at 02:41:54PM +0530, Aggarwal, Anuj wrote: Since all the five regulators can be controlled using a single i2c device, I made a single i2c_board_info structure in my platform specific file and put all the regulator_init_data information there: This is very common - most of