Re: [RFC V7 2/2] OPP: Allow "opp-hz" and "opp-microvolt" to contain magic values

From: Rob Herring
Date: Tue Oct 31 2017 - 12:03:24 EST


On Tue, Oct 31, 2017 at 7:47 AM, Viresh Kumar <viresh.kumar@xxxxxxxxxx> wrote:
> On some platforms the exact frequency or voltage may be hidden from the
> OS by the firmware. Allow such configurations to pass magic values in
> the "opp-hz" or the "opp-microvolt" properties, which should be
> interpreted in a platform dependent way.

Why not a new property for magic values? opp-magic? Don't we want to
know when we have magic values?

Wouldn't magic values in opp-hz get propagated to user space? I can
see the complaints now. "My 4GHz processor is running at 6Hz!" Just
like people complain when BogoMIPS is not high enough.

Rob