]> git.baikalelectronics.ru Git - kernel.git/commitdiff
Revert "dt-bindings: thermal: qcom-spmi-temp-alarm: Fix documentation of 'reg'"
authorAndy Gross <andy.gross@linaro.org>
Sun, 30 Sep 2018 17:58:10 +0000 (12:58 -0500)
committerAndy Gross <andy.gross@linaro.org>
Sun, 30 Sep 2018 17:59:52 +0000 (12:59 -0500)
This reverts commit b063ba473642eec45df47fd3d6f6a408259ca9b9.

Already picked up via Eduardo's thermal tree

Signed-off-by: Andy Gross <andy.gross@linaro.org>
Documentation/devicetree/bindings/thermal/qcom-spmi-temp-alarm.txt

index 86fb41fe772f9eba01647ee1d03e3a4b3d373f35..290ec06fa33ab12314b7ad8e2b2e50f870af9b87 100644 (file)
@@ -6,7 +6,8 @@ interrupt signal and status register to identify high PMIC die temperature.
 
 Required properties:
 - compatible:      Should contain "qcom,spmi-temp-alarm".
-- reg:             Specifies the SPMI address.
+- reg:             Specifies the SPMI address and length of the controller's
+                   registers.
 - interrupts:      PMIC temperature alarm interrupt.
 - #thermal-sensor-cells: Should be 0. See thermal.txt for a description.
 
@@ -19,7 +20,7 @@ Example:
 
        pm8941_temp: thermal-alarm@2400 {
                compatible = "qcom,spmi-temp-alarm";
-               reg = <0x2400>;
+               reg = <0x2400 0x100>;
                interrupts = <0 0x24 0 IRQ_TYPE_EDGE_RISING>;
                #thermal-sensor-cells = <0>;