]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
dt-bindings: opp: Introduce opp-level bindings
authorRajendra Nayak <rnayak@codeaurora.org>
Thu, 10 Jan 2019 04:02:01 +0000 (09:32 +0530)
committerAndy Gross <andy.gross@linaro.org>
Tue, 22 Jan 2019 21:06:11 +0000 (15:06 -0600)
Add opp-level as an additional property in the OPP node to describe
the performance level of the device.

On some SoCs (especially from Qualcomm and MediaTek) this value
is communicated to a remote microprocessor by the CPU, which
then takes some actions (like adjusting voltage values across various
rails) based on the value passed.

Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rajendra Nayak <rnayak@codeaurora.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
Documentation/devicetree/bindings/opp/opp.txt

index c396c4c0af92db1faa8d0f7ee7fe44b6a7fac242..76b6c79604a5b6e68814a26bcd88e1b48926d3be 100644 (file)
@@ -129,6 +129,9 @@ Optional properties:
 - opp-microamp-<name>: Named opp-microamp property. Similar to
   opp-microvolt-<name> property, but for microamp instead.
 
+- opp-level: A value representing the performance level of the device,
+  expressed as a 32-bit integer.
+
 - clock-latency-ns: Specifies the maximum possible transition latency (in
   nanoseconds) for switching to this OPP from any other OPP.