Re: [UPDATED v2][PATCH 0/6] regulator: voltage and current regulator framework

From: eric miao
Date: Thu Feb 21 2008 - 22:22:45 EST


On Fri, Feb 22, 2008 at 12:26 AM, Liam Girdwood
<lg@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> On Thu, 2008-02-21 at 08:41 +0000, Russell King - ARM Linux wrote:
> > On Wed, Feb 20, 2008 at 05:08:46PM +0000, Liam Girdwood wrote:
> > > This patch series provides a generic framework to allow device drivers
> > > to control voltage and current regulators on SoC based devices (e.g.
> > > phones, gps, media players).
> >
> > Note that I'm explicitly avoiding commenting on this as far as PXA3xx
> > devices go, until we're further down the road with PM support on that
> > SoC. It's not clear at present whether a generic PMIC framework will
> > be suitable for this SoC since it's my understanding from Marvell that
> > we need to talk to the PMIC from IRQs-off contexts.
> >
> > So don't take my silence as some sort of acceptance of this code; it
> > isn't.
>
> I wasn't ;)
>
> It then might be worth adding this functionality at a later stage when
> more can be said about PXA3xx PMIC support. We could always have a
> version of the _set() functions that are designed to handle this case.
>
> In the mean time this works well on 3 other SoC CPUs.
>
> Liam
>

Liam,

I have a rough peek into the git tree on opensource.wolfsonmicro.com,
find another PMIC framework, and here instead is a regulator framework,
looks like a simplified or dedicated one. What is their relationship?

For those PMIC that covers additional features, like
- usb vbus detection (or pull-up/pull-down)
- audio codec
- touch screen
- battery monitor/ fuel gauge
- battery charger
- possible many others

How do you plan to handle them?

>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>



--
Cheers
- eric
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/