Re: Doubt about Regulator Framework and VBAT use case

From: HÃgander Jouni
Date: Wed Dec 02 2009 - 06:32:30 EST


ext Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx> writes:

> On Mon, Nov 30, 2009 at 12:41:02PM +0200, Eduardo Valentin wrote:
>
>> I'm writing to ask about VBAT use case. What is the expected
>> way to use regulator framework in case of rail coming from battery?
>> Should it be added to the regulator framework at all?
>
> ...
>
>> However, drivers for devices on that rail would require their regulator anyway.
>> And I guess the point would be that drivers should not be aware that they are on VBAT
>> or any other rail.
>
> I'd add it as a fixed voltage regulator and either not specify the
> voltage or specify the nominal voltage.

I was preparing patch for this when I noticed that fixed voltage
regulator can control only one regulator. Are you aware of any ongoing
work to enable control for multiple regulators in
fixed-voltage-regulator?

--
Jouni HÃgander
--
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/