Re: [PATCH] regulator: Allow for asymmetric settling times

From: Matthias Kaehlcke
Date: Mon May 01 2017 - 12:42:37 EST


Hi Mark and Laxman,

thanks for your comments.

El Sun, Apr 30, 2017 at 09:30:01PM +0900 Mark Brown ha dit:

> On Sat, Apr 29, 2017 at 01:32:09PM +0530, Laxman Dewangan wrote:
> > On Saturday 29 April 2017 05:36 AM, Matthias Kaehlcke wrote:
>
> > > -- regulator-settling-time-us: Settling time, in microseconds, for voltage
> > > - change if regulator have the constant time for any level voltage change.
> > > - This is useful when regulator have exponential voltage change.
> > > +- regulator-settling-time-up-us: Settling time, in microseconds, for voltage
> > > + increase if the regulator needs a constant time to settle after voltage
> > > + increases of any level. This is useful for regulators with exponential
> > > + voltage changes.
> > > +- regulator-settling-time-down-us: Settling time, in microseconds, for voltage
> > > + decrease if the regulator needs a constant time to settle after voltage
> > > + decreases of any level. This is useful for regulators with exponential
> > > + voltage changes.
>
> > Can we have regulator-settling-time-us also so if it is there then up/down
> > same.
> > If up/down different then separate properties can be used.
>
> Removing the existing binding would also break existing DTs using it
> which we obviously don't want.

I thought it might be ok in this case since the driver just landed.

> I don't see any reason to even deprecate it, like Laxman says it's
> nice and convenient for people with symmetric performance.

Ok, I was 'concerned' about the redundancy, but if that is not seen as
an issue I'm happy to just add the new properties. I'll send an
updated patch soon.

Thanks

Matthias