Re: [PATCH 2/2] regulator: core: add support for configuring turn-ontime through constraints

From: Stephen Warren
Date: Tue Sep 10 2013 - 11:11:22 EST


On 09/10/2013 05:18 AM, Laxman Dewangan wrote:
> The Turn-ON time of the regulator depends on the regulator device's
> electrical characteristics. Sometimes regulator turn-on time also
> depends on the capacitive load on the given platform and it can be
> more than the datasheet value.
>
> The driver provides the enable-time as per datasheet.
>
> Add support for configure the enable time through regulator constraints
> so that regulator core can take this value for enable time for that
> regulator.

> diff --git a/Documentation/devicetree/bindings/regulator/regulator.txt b/Documentation/devicetree/bindings/regulator/regulator.txt

> +- regulator-enable-time: Turn ON time for regulator(in uS)

Bike-shedding slightly: This isn't really the time it takes to enable a
regulator, but the time the voltage takes to become stable, or settle.
Perhaps name the property regulator-settle-time/regulator-settle-delay?
--
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/