Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 006dbcd9 authored by Manaf Meethalavalappu Pallikunhi's avatar Manaf Meethalavalappu Pallikunhi Committed by Gerrit - the friendly Code Review server
Browse files

dt-bindings: thermal: Add limits CPU voltage cooling device

Add support for limits CPU voltage cooling device, which can place a
request to limits hardware for VDD restriction at cold temperature
condition.

Change-Id: I790c348ef2c313a50ef05241b749a8d80ab203c2
parent 43bf0a56
Loading
Loading
Loading
Loading
+33 −0
Original line number Diff line number Diff line
QTI LMH CPU Voltage cooling devices.

The LMH CPU voltage cooling device will be used to place voltage restriction
vote on CPU railway during cold thermal condition. This cooling device driver
will register one cooling device per LLM, which can be used by thermal zone to
place voltage restriction vote.

Properties:
- compatible:
	Usage: required
	Value type: <string>
	Definition: should be "qcom,lmh-cpu-vdd"

Cooling device node:
- reg:
	Usage: Required
	Value type: <a b>
	Definition: where 'a' is the starting register address of the LLM
			and 'b' is the size of LLM address space.

- #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:
	lmh_cpu_vdd0: qcom,lmh-cpu-vdd@18350800 {
		compatible = "qcom,lmh-cpu-vdd";
		reg =  <0x18350800 0x1000>;
		#cooling-cells = <2>;
	};