From d393592509b1a3b0913fc60ce8af65694f2df008 Mon Sep 17 00:00:00 2001 From: Priyansh Jain Date: Mon, 25 Oct 2021 08:53:41 +0530 Subject: [PATCH] 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 --- bindings/thermal/qcom,devfreq-vdd-cdev.txt | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 bindings/thermal/qcom,devfreq-vdd-cdev.txt diff --git a/bindings/thermal/qcom,devfreq-vdd-cdev.txt b/bindings/thermal/qcom,devfreq-vdd-cdev.txt new file mode 100644 index 000000000000..a3ff787cd185 --- /dev/null +++ b/bindings/thermal/qcom,devfreq-vdd-cdev.txt @@ -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: + Definition: should be "qcom,devfreq-vdd-cooling-device" + +- devfreq: + Usage: required + Value type: + 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: + Definition: Must be 2. This is required by of-thermal and refer the doc + for more details. + +Example: + + devfreq_vdd_cdev: devfreq-vdd-cdev { + compatible = "qcom,devfreq-vdd-cooling-device"; + devfreq = <&msm_gpu>; + #cooling-cells = <2>; + };