From 14816b0fd4af12cda6c73076f2b02e50e74f0d19 Mon Sep 17 00:00:00 2001 From: Manaf Meethalavalappu Pallikunhi Date: Thu, 16 Jul 2020 21:01:59 +0530 Subject: [PATCH] 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 ("drivers: thermal: Add support for RPM SMD cooling device")' of the msm-4.19 kernel project. Change-Id: I66e9017e88d28b1c1407cb3d3673ad41be1c280a --- bindings/thermal/qcom,rpm-smd-cdev.txt | 27 ++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 bindings/thermal/qcom,rpm-smd-cdev.txt diff --git a/bindings/thermal/qcom,rpm-smd-cdev.txt b/bindings/thermal/qcom,rpm-smd-cdev.txt new file mode 100644 index 000000000000..0a5da03c9986 --- /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: + Definition: should be "qcom,rpm-smd-cooling-device" + +- #cooling-cells: + Usage: required + Value type: + Definition: Must be 2. This is required by of-thermal and refer the doc + for more details. + +Example: + +&rpm_bus { + rpm_smd_cdev: rpm-smd-cdev { + compatible = "qcom,rpm-smd-cooling-device"; + #cooling-cells = <2>; + }; +};