1 Qualcomm QPNP PMIC Temperature Alarm
3 QPNP temperature alarm peripherals are found inside of Qualcomm PMIC chips
4 that utilize the Qualcomm SPMI implementation. These peripherals provide an
5 interrupt signal and status register to identify high PMIC die temperature.
8 - compatible: Should contain "qcom,spmi-temp-alarm".
9 - reg: Specifies the SPMI address and length of the controller's
11 - interrupts: PMIC temperature alarm interrupt.
12 - #thermal-sensor-cells: Should be 0. See thermal.txt for a description.
15 - io-channels: Should contain IIO channel specifier for the ADC channel,
16 which report chip die temperature.
17 - io-channel-names: Should contain "thermal".
21 pm8941_temp: thermal-alarm@2400 {
22 compatible = "qcom,spmi-temp-alarm";
24 interrupts = <0 0x24 0 IRQ_TYPE_EDGE_RISING>;
25 #thermal-sensor-cells = <0>;
27 io-channels = <&pm8941_vadc VADC_DIE_TEMP>;
28 io-channel-names = "thermal";
33 polling-delay-passive = <250>;
34 polling-delay = <1000>;
36 thermal-sensors = <&pm8941_temp>;
40 temperature = <1050000>;
45 temperature = <125000>;
50 temperature = <145000>;