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.
10 - interrupts: PMIC temperature alarm interrupt.
11 - #thermal-sensor-cells: Should be 0. See Documentation/devicetree/bindings/thermal/thermal-sensor.yaml for a description.
14 - io-channels: Should contain IIO channel specifier for the ADC channel,
15 which report chip die temperature.
16 - io-channel-names: Should contain "thermal".
20 pm8941_temp: thermal-alarm@2400 {
21 compatible = "qcom,spmi-temp-alarm";
23 interrupts = <0 0x24 0 IRQ_TYPE_EDGE_RISING>;
24 #thermal-sensor-cells = <0>;
26 io-channels = <&pm8941_vadc VADC_DIE_TEMP>;
27 io-channel-names = "thermal";
32 polling-delay-passive = <250>;
33 polling-delay = <1000>;
35 thermal-sensors = <&pm8941_temp>;
39 temperature = <105000>;
44 temperature = <125000>;