From 96df30f1ed30fdb5f474369141c93519c80e929d Mon Sep 17 00:00:00 2001 From: Manaf Meethalavalappu Pallikunhi Date: Thu, 16 Jul 2020 20:48:09 +0530 Subject: [PATCH] dt-bindings: Add snapshot of regulator cooling device devicetree binding 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 --- bindings/thermal/regulator-cdev.txt | 38 +++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 bindings/thermal/regulator-cdev.txt diff --git a/bindings/thermal/regulator-cdev.txt b/bindings/thermal/regulator-cdev.txt new file mode 100644 index 000000000000..93de428575f9 --- /dev/null +++ b/bindings/thermal/regulator-cdev.txt @@ -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: + Definition: shall be "qcom,regulator-cooling-device" + +- cdev-supply: + Usage: required + Value type: + Definition: phandle to the regulator to which the cooling device will + place a floor mitigation. + +- regulator-levels: + Usage: required + Value type: + 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 + for more + details. + +Example: + + mv_cdev: mx-cdev-lvl { + compatible = "qcom,regulator-cooling-device"; + cdev-supply = <®ulator-cdev-supply>; + regulator-levels = ; + #cooling-cells = <2>; + };