arm64: dts: qcom: pm8998: Use ADC temperature to temp-alarm node
[sfrench/cifs-2.6.git] / arch / arm64 / boot / dts / qcom / pm8998.dtsi
index 4872f116758d826037e17cfa207fcd3f3e5ddfe7..d3ca35a940fb68a7c254533f9cf96db36be8e408 100644 (file)
@@ -58,6 +58,8 @@
                        compatible = "qcom,spmi-temp-alarm";
                        reg = <0x2400>;
                        interrupts = <0x0 0x24 0x0 IRQ_TYPE_EDGE_RISING>;
+                       io-channels = <&pm8998_adc ADC5_DIE_TEMP>;
+                       io-channel-names = "thermal";
                        #thermal-sensor-cells = <0>;
                };