[PATCH V3 07/16] PM / OPP: Add support to parse "operating-points-v2" bindings

Viresh Kumar viresh.kumar at linaro.org
Thu Jul 30 22:58:06 PDT 2015


On 30-07-15, 22:51, Stephen Boyd wrote:
> > +	opp->u_volt = microvolt[0];
> > +	opp->u_volt_min = microvolt[1];
> > +	opp->u_volt_max = microvolt[2];
> 
> Should the default be 0 and ULONG_MAX for volt_min/volt_max when
> there's on element?

I am not still sure how the regulator API is going to look like for
this target/min/max thing. So, lets defer it until that is resolved.
For now they are initialized to 0.

And, because the user has just passed in a target voltage, maybe all
three must be == u_volt. :)

-- 
viresh



More information about the linux-arm-kernel mailing list