]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: dts: qcom: pm8998: Add spmi-temp-alarm node
authorMatthias Kaehlcke <mka@chromium.org>
Tue, 31 Jul 2018 18:59:16 +0000 (11:59 -0700)
committerAndy Gross <andy.gross@linaro.org>
Thu, 13 Sep 2018 19:36:11 +0000 (14:36 -0500)
This adds the spmi-temp-alarm node to pm8998 based on the examples in the
bindings.

Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
arch/arm64/boot/dts/qcom/pm8998.dtsi

index 3739b6a8e5ab9de4f60e88dfff16f28f9dbd86d4..8f20e33979706ef4c9134d8c09ce8003b2c85ecf 100644 (file)
@@ -30,6 +30,13 @@ pwrkey {
                        };
                };
 
+               pm8998_temp: temp-alarm@2400 {
+                       compatible = "qcom,spmi-temp-alarm";
+                       reg = <0x2400>;
+                       interrupts = <0x0 0x24 0x0 IRQ_TYPE_EDGE_RISING>;
+                       #thermal-sensor-cells = <0>;
+               };
+
                pm8998_coincell: coincell@2800 {
                        compatible = "qcom,pm8941-coincell";
                        reg = <0x2800>;