The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/thermal/qcom-spmi-temp-alarm.txt

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 Qualcomm QPNP PMIC Temperature Alarm
    2 
    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.
    6 
    7 Required properties:
    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.
   12 
   13 Optional properties:
   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".
   17 
   18 Example:
   19 
   20         pm8941_temp: thermal-alarm@2400 {
   21                 compatible = "qcom,spmi-temp-alarm";
   22                 reg = <0x2400>;
   23                 interrupts = <0 0x24 0 IRQ_TYPE_EDGE_RISING>;
   24                 #thermal-sensor-cells = <0>;
   25 
   26                 io-channels = <&pm8941_vadc VADC_DIE_TEMP>;
   27                 io-channel-names = "thermal";
   28         };
   29 
   30         thermal-zones {
   31                 pm8941 {
   32                         polling-delay-passive = <250>;
   33                         polling-delay = <1000>;
   34 
   35                         thermal-sensors = <&pm8941_temp>;
   36 
   37                         trips {
   38                                 stage1 {
   39                                         temperature = <105000>;
   40                                         hysteresis = <2000>;
   41                                         type = "passive";
   42                                 };
   43                                 stage2 {
   44                                         temperature = <125000>;
   45                                         hysteresis = <2000>;
   46                                         type = "critical";
   47                                 };
   48                         };
   49                 };
   50         };
   51 

Cache object: 262b6a3f9d6ecc392d9506104b5fa237


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.