Re: [RFD] voltage/current regulator consumer interface

From: Mark Brown
Date: Tue Apr 21 2009 - 06:05:38 EST


On Mon, Apr 20, 2009 at 11:38:49AM -0400, James Kosin wrote:

> > such as GPS trancievers and GSM modems. Moreover, in SoC based systems it is
> > possible to switch on/off power to entire subsystem when it is not used.

> I'd also ask the question, Why?
> If exposing to user space it leaves the possibility of damaging hardware
> or completely frying a board.

There are some classes of device found in embedded systems which do
things like provide an essentially separate system which interacts with
the host system via something like a serial port. These devices are
normally controlled entirely from user space which is fine with static
power configuration but if you want to provide regulator control for
these devices you need to either move the control of the device into the
kernel or expose the regulators the device uses to userspace.
--
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/