1 // SPDX-License-Identifier: BSD-3-Clause
3 * Copyright (c) 2022, Linaro Limited
6 #include <dt-bindings/interrupt-controller/irq.h>
7 #include <dt-bindings/spmi/spmi.h>
12 polling-delay-passive = <100>;
15 thermal-sensors = <&pm8010_m_temp_alarm>;
19 temperature = <95000>;
25 temperature = <115000>;
33 polling-delay-passive = <100>;
36 thermal-sensors = <&pm8010_n_temp_alarm>;
40 temperature = <95000>;
46 temperature = <115000>;
58 compatible = "qcom,pm8010", "qcom,spmi-pmic";
59 reg = <0xc SPMI_USID>;
63 pm8010_m_temp_alarm: temp-alarm@2400 {
64 compatible = "qcom,spmi-temp-alarm";
66 interrupts = <0xc 0x24 0x0 IRQ_TYPE_EDGE_BOTH>;
67 #thermal-sensor-cells = <0>;
72 compatible = "qcom,pm8010", "qcom,spmi-pmic";
73 reg = <0xd SPMI_USID>;
77 pm8010_n_temp_alarm: temp-alarm@2400 {
78 compatible = "qcom,spmi-temp-alarm";
80 interrupts = <0xd 0x24 0x0 IRQ_TYPE_EDGE_BOTH>;
81 #thermal-sensor-cells = <0>;