Re: [RFC PATCH 1/2] regulator: core: Add regulator_set_voltage_min()

From: Mark Brown
Date: Tue Apr 23 2013 - 04:48:54 EST


On Mon, Apr 22, 2013 at 07:49:37PM +0300, Taras Kondratiuk wrote:

> Yeah. Sure 4kV is not a real request, but
> max will be limited by system constrains.
> According to regulator_set_voltage() documentation
> system constraints should be set before calling this function,
> so I assume I can rely on them. No?

> Another possible implementation is below, but prefer initial one.

I just don't see any reason for this API. The driver setting the
voltage ought to have some idea of what the chip limits are too for
safety.

Attachment: signature.asc
Description: Digital signature