Re: [patch 2.6.29-rc6+misc] MMC: regulator utilities

2009-03-11 Thread David Brownell
On Monday 09 March 2009, Liam Girdwood wrote: From: David Brownell dbrown...@users.sourceforge.net Glue between MMC and regulator stacks ... verified with some OMAP3 boards using adjustable and configured-as-fixed regulators on several MMC controllers. ... Acked-by:

Re: [patch 2.6.29-rc6+misc] MMC: regulator utilities

2009-03-11 Thread Liam Girdwood
On Wed, 2009-03-11 at 03:30 -0800, David Brownell wrote: On Monday 09 March 2009, Liam Girdwood wrote: From: David Brownell dbrown...@users.sourceforge.net Glue between MMC and regulator stacks ... verified with some OMAP3 boards using adjustable and configured-as-fixed

Re: [patch 2.6.29-rc6+misc] MMC: regulator utilities

2009-03-09 Thread Liam Girdwood
On Sun, 2009-03-08 at 22:49 +0100, Pierre Ossman wrote: On Sun, 8 Mar 2009 12:34:25 -0800 David Brownell davi...@pacbell.net wrote: On Sunday 08 March 2009, Pierre Ossman wrote: Looks good. Now what should I do with it? Merge it in the next window good enough? Well, after testing

Re: [patch 2.6.29-rc6+misc] MMC: regulator utilities

2009-03-08 Thread David Brownell
On Sunday 08 March 2009, Pierre Ossman wrote: Looks good. Now what should I do with it? Merge it in the next window good enough? Well, after testing the previously-untested call ... here's another update. Since these depend on new calls in the regulator framework, it can't merge until after

Re: [patch 2.6.29-rc6+misc] MMC: regulator utilities

2009-03-03 Thread David Brownell
From: David Brownell dbrown...@users.sourceforge.net Glue between MMC and regulator stacks ... compiles, and mmc_regulator_get_ocrmask() passed sanity testing. These calls are intended to be used by MMC host adapters using at least one regulator per host. Examples include slots with regulators

Re: [patch 2.6.29-rc6+misc] MMC: regulator utilities

2009-03-02 Thread Pierre Ossman
On Thu, 26 Feb 2009 13:48:30 -0800 David Brownell davi...@pacbell.net wrote: From: David Brownell dbrown...@users.sourceforge.net Add optional glue between MMC and regulator stacks, using a new regulator interface to learn what voltages are available. This is intended to be selected and

Re: [patch 2.6.29-rc6+misc] MMC: regulator utilities

2009-03-02 Thread David Brownell
On Monday 02 March 2009, Pierre Ossman wrote: On Thu, 26 Feb 2009 13:48:30 -0800 David Brownell davi...@pacbell.net wrote: From: David Brownell dbrown...@users.sourceforge.net Add optional glue between MMC and regulator stacks, using a new regulator interface to learn what voltages

Re: [patch 2.6.29-rc6+misc] MMC: regulator utilities

2009-03-02 Thread Pierre Ossman
On Mon, 2 Mar 2009 13:27:13 -0800 David Brownell davi...@pacbell.net wrote: On Monday 02 March 2009, Pierre Ossman wrote: On Thu, 26 Feb 2009 13:48:30 -0800 David Brownell davi...@pacbell.net wrote: + */ +int mmc_regulator_set_ocr(struct mmc_host *host, struct regulator *supply)

Re: [patch 2.6.29-rc6+misc] MMC: regulator utilities

2009-03-02 Thread David Brownell
On Monday 02 March 2009, Pierre Ossman wrote: +int mmc_regulator_set_ocr(struct mmc_host *host, struct regulator *supply) +{ Why not pass the vdd directly? Saves a few dereferences if nothing else. This call syntax is simpler, which is usually a win. Passing a third

[patch 2.6.29-rc6+misc] MMC: regulator utilities

2009-02-26 Thread David Brownell
From: David Brownell dbrown...@users.sourceforge.net Add optional glue between MMC and regulator stacks, using a new regulator interface to learn what voltages are available. This is intended to be selected and driven by MMC host adapters. It only handles reusable parts of the regulator-to-MMC