Files
kernel_oneplus_sm8550-devic…/bindings/thermal/qti-cpu-hotplug-cdev.txt
Jeevan Shriram 3788dc62e5 ARM: dts: msm: Add devicetree bindings snapshot for Waipio Support
Add devicetree bindings for supporting waipio platform on msm-kalama branch
with snapshot merge of msm-5.10 devicetree at commit <c8b773e> (Merge "ARM:
dts: msm: Enable stats driver for diwali").

Change-Id: I72272f4cd727346ce3050b8b7ba49c1eefc150d4
2021-08-18 08:34:10 -07:00

51 lines
1.3 KiB
Plaintext

QTI CPU hotplug cooling devices.
The CPU hotplug cooling device will be used for hotpluging a CPU on a thermal
condition. This cooling device driver can register one cooling device per CPU,
which can be used by thermal zone to mitigate.
Each child node will represent a cooling device and the child node should
point to the CPU, which will be mitigated by that cooling device instance.
Properties:
- compatible:
Usage: required
Value type: <string>
Definition: should be "qcom,cpu-hotplug"
Cooling device node:
- qcom,cpu:
Usage: required
Value type: <phandle>
Definition: phandle to the CPU device that this cooling device will
mitigate.
-#cooling-cells:
Usage: required
Value type: <integer>
Definition: Must be 2. Needed for of_thermal as cooling device
identifier. Please refer to
<devicetree/bindings/thermal/thermal.txt> for more
details.
Example:
qcom,cpu-hotplug {
compatible = "qcom,cpu-hotplug";
cpu0_hotplug: cpu0-hotplug {
qcom,cpu = <&CPU0>;
#cooling-cells = <2>;
};
cpu1_hotplug: cpu1-hotplug {
qcom,cpu = <&CPU1>;
#cooling-cells = <2>;
};
cpu2_hotplug: cpu2-hotplug {
qcom,cpu = <&CPU2>;
#cooling-cells = <2>;
};
cpu3_hotplug: cpu3-hotplug {
qcom,cpu = <&CPU3>;
#cooling-cells = <2>;
};
};