mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 22:23:14 -04:00
Merge "dt-bindings: Add snapshot of regulator cooling device devicetree binding"
This commit is contained in:
commit
6c34952fd0
1 changed files with 38 additions and 0 deletions
38
bindings/thermal/regulator-cdev.txt
Normal file
38
bindings/thermal/regulator-cdev.txt
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
Regulator cooling device.
|
||||
|
||||
The regulator cooling device, will be used to place a voltage floor
|
||||
restriction on a rail.
|
||||
|
||||
Properties:
|
||||
|
||||
- compatible:
|
||||
Usage: required
|
||||
Value type: <string>
|
||||
Definition: shall be "qcom,regulator-cooling-device"
|
||||
|
||||
- cdev-supply:
|
||||
Usage: required
|
||||
Value type: <phandle>
|
||||
Definition: phandle to the regulator to which the cooling device will
|
||||
place a floor mitigation.
|
||||
|
||||
- regulator-levels:
|
||||
Usage: required
|
||||
Value type: <U32 array>
|
||||
Definition: Array of regulator voltages the cooling device should
|
||||
use to place a floor restriction. The voltages should
|
||||
be specified in ascending order.
|
||||
|
||||
- #cooling-cells: Must be 2. Please refer to
|
||||
<devicetree/bindings/thermal/thermal.txt> for more
|
||||
details.
|
||||
|
||||
Example:
|
||||
|
||||
mv_cdev: mx-cdev-lvl {
|
||||
compatible = "qcom,regulator-cooling-device";
|
||||
cdev-supply = <®ulator-cdev-supply>;
|
||||
regulator-levels = <RPMH_REGULATOR_LEVEL_OFF
|
||||
RPMH_REGULATOR_LEVEL_NOM>;
|
||||
#cooling-cells = <2>;
|
||||
};
|
||||
Loading…
Reference in a new issue