mirror of
https://github.com/Evolution-X-Devices/kernel_xiaomi_sm8450-devicetrees
synced 2026-01-28 16:30:37 +00:00
dt-bindings: thermal: Add cpu frequency cooling device
Add cpu frequency cooling device to register with thermal framework. This will enable userspace to limit CPU frequency. Change-Id: I45b7afe70cf7e4dda3579f2a765604c908681a78
This commit is contained in:
24
bindings/thermal/qti-cpufreq-cdev.txt
Normal file
24
bindings/thermal/qti-cpufreq-cdev.txt
Normal file
@@ -0,0 +1,24 @@
|
||||
QTI CPU frequency cooling devices.
|
||||
|
||||
The CPU frequency cooling device will be used by userspace thermal daemon to
|
||||
vote for frequency cap under thermal conditions. This driver will register a
|
||||
cooling device for each CPU phandle specified in the devicetree.
|
||||
|
||||
Properties:
|
||||
- compatible:
|
||||
Usage: required
|
||||
Value type: <string>
|
||||
Definition: should be "qcom,cpufreq-cdev"
|
||||
|
||||
Cooling device node:
|
||||
- qcom,cpus:
|
||||
Usage: required
|
||||
Value type: <list of CPU Phandles>
|
||||
Definition: List of Phandles to the CPUs. Each CPU will be registered
|
||||
as a separate cooling device with thermal framework.
|
||||
|
||||
Example:
|
||||
qcom,cpufreq-cdev {
|
||||
compatible = "qcom,cpufreq-cdev";
|
||||
qcom,cpus = <&CPU0 &CPU4 &CPU7>;
|
||||
};
|
||||
Reference in New Issue
Block a user