[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180525203043.249193-11-mka@chromium.org>
Date: Fri, 25 May 2018 13:30:42 -0700
From: Matthias Kaehlcke <mka@...omium.org>
To: MyungJoo Ham <myungjoo.ham@...sung.com>
Cc: Kyungmin Park <kyungmin.park@...sung.com>,
Chanwoo Choi <cw00.choi@...sung.com>,
Arnd Bergmann <arnd@...db.de>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>, linux-pm@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
Brian Norris <briannorris@...omium.org>,
Douglas Anderson <dianders@...omium.org>,
Matthias Kaehlcke <mka@...omium.org>
Subject: [PATCH 10/11] dt-bindings: misc: add bindings for throttler
Signed-off-by: Matthias Kaehlcke <mka@...omium.org>
---
.../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
Powered by blists - more mailing lists