summaryrefslogtreecommitdiff
path: root/bindings
diff options
context:
space:
mode:
authorGopala Krishna Nuthaki <gnuthaki@qti.qualcomm.com>2021-07-29 23:33:20 +0530
committerGopala Krishna Nuthaki <gnuthaki@qti.qualcomm.com>2021-07-29 23:33:20 +0530
commitcf272512ca326ecbb72dd4fb123822ccbbf659a8 (patch)
tree7473626f10dee43eab8b7d4590a2c2334b057a65 /bindings
parent6ae011dfac7249e082e860ba68be18d75acdc9cd (diff)
downloaddevicetree-cf272512ca326ecbb72dd4fb123822ccbbf659a8.tar.gz
dt-bindings: Add snapshot of RPM SMD devicetree binding
Add snapshot of RPM SMD devicetree binding to the devicetree project.This snapshot is taken as of 'commit <f7835e76aab01> ("drivers: thermal: Add support for RPM SMD cooling device")' of the msm-4.14 kernel project. Change-Id: Ib2fd5196575d3ae9cfd0276f5e4beb7f9057f46d
Diffstat (limited to 'bindings')
-rw-r--r--bindings/thermal/qcom,rpm-smd-cdev.txt27
1 files changed, 27 insertions, 0 deletions
diff --git a/bindings/thermal/qcom,rpm-smd-cdev.txt b/bindings/thermal/qcom,rpm-smd-cdev.txt
new file mode 100644
index 00000000..0a5da03c
--- /dev/null
+++ b/bindings/thermal/qcom,rpm-smd-cdev.txt
@@ -0,0 +1,27 @@
+Qualcomm Technologies, Inc. RPM SMD cooling device
+
+The RPM shared memory(SMD) cooling device, will be used to set
+different thermal band level to RPM hardware. When threshold violation
+occurs, RPM SMD cooling device sends pre-configured thermal band level
+to RPM hardware via SMD.
+
+Required Parameters:
+- compatible:
+ Usage: required
+ Value type: <string>
+ Definition: should be "qcom,rpm-smd-cooling-device"
+
+- #cooling-cells:
+ Usage: required
+ Value type: <integer>
+ Definition: Must be 2. This is required by of-thermal and refer the doc
+ <devicetree/bindings/thermal/thermal.txt> for more details.
+
+Example:
+
+&rpm_bus {
+ rpm_smd_cdev: rpm-smd-cdev {
+ compatible = "qcom,rpm-smd-cooling-device";
+ #cooling-cells = <2>;
+ };
+};