[PATCH 10/11] dt-bindings: misc: add bindings for throttler

From: Matthias Kaehlcke
Date: Fri May 25 2018 - 16:32:09 EST


Signed-off-by: Matthias Kaehlcke <mka@xxxxxxxxxxxx>
---
.../devicetree/bindings/misc/throttler.txt | 41 +++++++++++++++++++
1 file changed, 41 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..92f13e94451a
--- /dev/null
+++ b/Documentation/devicetree/bindings/misc/throttler.txt
@@ -0,0 +1,41 @@
+Throttler driver
+
+The Throttler is used for non-thermal throttling of system components like
+CPUs or devfreq devices.
+
+
+Optional properties:
+--------------------
+- cpufreq: A sub-node which is container of only cpufreq
+ Type: sub-mode nodes, used to describe the throttling settings
+ for a CPU (or CPU group sharing the same policy).
+
+- devfreq: A sub-node which is container of only devfreq
+ Type: sub-mode nodes, used to describe the throttling settings
+ for a devfreq device.
+
+cpufreq node:
+=============
+
+Required properties:
+--------------------
+- cpu: The id of the CPU to be throttled.
+ Type: unsigned
+ Size: one cell
+
+- throttling-frequencies: Frequencies used for throttling, corresponding
+ Type: unsigned to throttling level 1, 2, ...
+ Size: array
+
+
+devfreq node:
+=============
+
+Required properties:
+--------------------
+- devfreq: A phandle of the devfreq device to be throttled.
+ Type: phandle
+
+- throttling-frequencies: Frequencies used for throttling, corresponding
+ Type: unsigned to throttling level 1, 2, ...
+ Size: array
--
2.17.0.921.gf22659ad46-goog