dt-bindings: thermal: Add snapshot of devfreq-vdd-cdev

Add dt-bindings for cooling device which will be used to
set minimum operating level for gfx rail using gpu devfreq
interface during cold thermal condition.

Change-Id: I66116350e0df379556c7caa01658c4ab9d844848
This commit is contained in:
Priyansh Jain 2021-10-25 08:53:41 +05:30
commit d393592509

View file

@ -0,0 +1,34 @@
Qualcomm Technologies, Inc. Devfreq Vdd cooling device
The Devfreq Vdd cooling device, will be used to set minimum
operating level for gfx rail using gpu devfreq interface
during cold thermal condition. This cooling device will be
used with cold temp monitor thermal zone. Whenever cold
temperature triggers, it disables frequencies lower than
the minimum operating level using devfreq opp API's.
Required Parameters:
- compatible:
Usage: required
Value type: <string>
Definition: should be "qcom,devfreq-vdd-cooling-device"
- 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.
- #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:
devfreq_vdd_cdev: devfreq-vdd-cdev {
compatible = "qcom,devfreq-vdd-cooling-device";
devfreq = <&msm_gpu>;
#cooling-cells = <2>;
};