Re: [PATCH v5 09/12] dt-bindings: misc: add bindings for throttler
From: Viresh Kumar
Date: Wed Jul 04 2018 - 06:00:12 EST
On 03-07-18, 16:47, Matthias Kaehlcke wrote:
> The Throttler is used for non-thermal throttling of system components
> like CPUs or devfreq devices.
>
> Signed-off-by: Matthias Kaehlcke <mka@xxxxxxxxxxxx>
> --
> Changes in v5:
> - patch added to the series (replacing "dt-bindings: PM / OPP: add
> opp-throttlers property")
> ---
> .../devicetree/bindings/misc/throttler.txt | 13 +++++++++++++
> 1 file changed, 13 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/misc/throttler.txt
>
> diff --git a/Documentation/devicetree/bindings/misc/throttler.txt b/Documentation/devicetree/bindings/misc/throttler.txt
> new file mode 100644
> index 000000000000..2ea80c62dbe1
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/misc/throttler.txt
> @@ -0,0 +1,13 @@
> +Throttler driver
> +
> +The Throttler is used for non-thermal throttling of system components like
> +CPUs or devfreq devices.
> +
> +Required properties:
> +- throttler-opps Array of OPP-v2 phandles with the OPPs used for
> + throttling.
> +
> +Example:
> + throttler {
> + throttler-opps = <&cpu0_opp03, &cpu1_opp02, &gpu_opp03>;
> + };
All you do with these phandles for now is that you parse them and read
"opp-hz" value. For that purpose current bindings look sufficient.
>From OPP point of view:
Acked-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
--
viresh