mirror of
https://github.com/Evolution-X-Devices/kernel_xiaomi_sm8450-devicetrees
synced 2026-02-01 08:51:30 +00:00
Add devfreq cooling device to register with thermal framework. This will enable userspace to limit GPU frequency. Change-Id: I763695785c310b8a279b803f6af580b24b116024
25 lines
667 B
Plaintext
25 lines
667 B
Plaintext
QTI devfreq cooling devices.
|
|
|
|
The devfreq 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 the GPU phandle specified in the devicetree.
|
|
|
|
Properties:
|
|
- compatible:
|
|
Usage: required
|
|
Value type: <string>
|
|
Definition: should be "qcom,devfreq-cdev"
|
|
|
|
Cooling device node:
|
|
- qcom,devfreq:
|
|
Usage: required
|
|
Value type: <devfreq phandle>
|
|
Definition: Phandle to the GPU devfreq. This will register the GPU
|
|
devfreq as a cooling device with thermal framework.
|
|
|
|
Example:
|
|
qcom,devfreq-cdev {
|
|
compatible = "qcom,devfreq-cdev";
|
|
qcom,devfreq = <&msm_gpu>;
|
|
};
|