[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1270633823.3248.38.camel@odin>
Date: Wed, 07 Apr 2010 10:50:23 +0100
From: Liam Girdwood <lrg@...mlogic.co.uk>
To: Mark Brown <broonie@...nsource.wolfsonmicro.com>
Cc: Jonathan Cameron <jic23@....ac.uk>,
Jean Delvare <khali@...ux-fr.org>,
lm-sensors <lm-sensors@...sensors.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [lm-sensors] regulator: regulator_get behaviour without
CONFIG_REGULATOR set
On Tue, 2010-04-06 at 19:19 +0100, Mark Brown wrote:
> On 6 Apr 2010, at 17:25, Jonathan Cameron <jic23@....ac.uk> wrote:
>
> > On 04/06/10 16:27, Liam Girdwood wrote:
> >>>
> >>>
> >>>
> >>
> >> I suppose this is something we may look into more when we have more
> >> clients.
> > Makes sense. There will probably be quite a few IIO drivers over
> > the next
> > few months doing much the same as sht15, where the voltage ref for
> > devices
> > may well be fed by a regulator. In that case, we may only offer the
> > option
> > of using an external v_ref if the regulator is available. Many
> > devices have
> > an internal regulator to provide it so typically we'll start them up
> > using that
> > and provide an interface to switch to external regulator if one is
> > available.
> > I haven't thought through exactly how this will work as yet. I'll cc
> > people in
> > when this comes up.
>
> TBH this seems like a very vanilla use case - there may be some small
> advantage to representing the internal regulator via the regulator API
> but that's about the only thing I can think might be a bit odd.
> --
Although may be quite useful here for any mfd devices where the core has
regulators that only supply the other on chip functions.
Liam
--
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists