[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1568135676-9328-4-git-send-email-thara.gopinath@linaro.org>
Date: Tue, 10 Sep 2019 13:14:34 -0400
From: Thara Gopinath <thara.gopinath@...aro.org>
To: edubezval@...il.com, rui.zhang@...el.com, ulf.hansson@...aro.org,
daniel.lezcano@...aro.org, bjorn.andersson@...aro.org,
robh+dt@...nel.org, agross@...nel.org
Cc: amit.kucheria@...durent.com, mark.rutland@....com,
rjw@...ysocki.net, linux-pm@...r.kernel.org,
devicetree@...r.kernel.org, linux-arm-msm@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH 3/5] dt-bindings: thermal: Add generic power domain warming device binding
Add binding to define power domains as thermal warming
devices.
Signed-off-by: Thara Gopinath <thara.gopinath@...aro.org>
---
.../bindings/thermal/pwr-domain-warming.txt | 32 ++++++++++++++++++++++
1 file changed, 32 insertions(+)
create mode 100644 Documentation/devicetree/bindings/thermal/pwr-domain-warming.txt
diff --git a/Documentation/devicetree/bindings/thermal/pwr-domain-warming.txt b/Documentation/devicetree/bindings/thermal/pwr-domain-warming.txt
new file mode 100644
index 0000000..25fc568
--- /dev/null
+++ b/Documentation/devicetree/bindings/thermal/pwr-domain-warming.txt
@@ -0,0 +1,32 @@
+* Generic power domain based thermal warming device.
+
+This binding describes the power domains that can be used as a
+thermal warming device.
+
+- compatible:
+ Usage: required
+ Value type: <string>
+ Definition: must be "thermal-power-domain-wdev"
+
+- #temp-reg-cells:
+ Usage: required
+ Value type: <u32>
+ Definition: Must be 2
+
+- power-domains:
+ Usage: required
+ Value type: <phandle>
+ Definition: reference to power-domains that match power-domain-names
+
+- power-domain-names:
+ Usage: required
+ Value type: <stringlist>
+ Definition: The power-domains that can behave as warming devices
+
+Example 1
+thermal_wdev: rpmhpd_mx_wdev {
+ compatible = "thermal-power-domain-wdev";
+ #cooling-cells = <2>;
+ power-domains = <&rpmhpd SDM845_MX>;
+ power-domain-names = "mx";
+ };
--
2.1.4
Powered by blists - more mailing lists