mirror of
https://github.com/Evolution-X-Devices/kernel_xiaomi_sm8450-devicetrees
synced 2026-02-01 08:51:30 +00:00
Add snapshot of regulator cooling device devicetree binding to the
devicetree project. This snapshot is taken as of 'commit
<0a274ea6e54e5> ("dt-bindings: Add devicetree bindings to devicetree
project)' of the devicetree-4.19 project.
Change-Id: If4c415e6e78920fb070b16c89abb6178035c29ea
39 lines
960 B
Plaintext
39 lines
960 B
Plaintext
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>;
|
|
};
|