From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthias Kaehlcke Subject: [PATCH 10/11] dt-bindings: misc: add bindings for throttler Date: Fri, 25 May 2018 13:30:42 -0700 Message-ID: <20180525203043.249193-11-mka@chromium.org> References: <20180525203043.249193-1-mka@chromium.org> Return-path: In-Reply-To: <20180525203043.249193-1-mka@chromium.org> Sender: linux-kernel-owner@vger.kernel.org To: MyungJoo Ham Cc: Kyungmin Park , Chanwoo Choi , Arnd Bergmann , Greg Kroah-Hartman , Rob Herring , Mark Rutland , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Brian Norris , Douglas Anderson , Matthias Kaehlcke List-Id: linux-pm@vger.kernel.org Signed-off-by: Matthias Kaehlcke --- .../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