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/db8500-thermal.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 * ST-Ericsson DB8500 Thermal
    2 
    3 ** Thermal node properties:
    4 
    5 - compatible : "stericsson,db8500-thermal";
    6 - reg : address range of the thermal sensor registers;
    7 - interrupts : interrupts generated from PRCMU;
    8 - interrupt-names : "IRQ_HOTMON_LOW" and "IRQ_HOTMON_HIGH";
    9 - num-trips : number of total trip points, this is required, set it 0 if none,
   10   if greater than 0, the following properties must be defined;
   11 - tripN-temp : temperature of trip point N, should be in ascending order;
   12 - tripN-type : type of trip point N, should be one of "active" "passive" "hot"
   13   "critical";
   14 - tripN-cdev-num : number of the cooling devices which can be bound to trip
   15   point N, this is required if trip point N is defined, set it 0 if none,
   16   otherwise the following cooling device names must be defined;
   17 - tripN-cdev-nameM : name of the No. M cooling device of trip point N;
   18 
   19 Usually the num-trips and tripN-*** are separated in board related dts files.
   20 
   21 Example:
   22 thermal@801573c0 {
   23         compatible = "stericsson,db8500-thermal";
   24         reg = <0x801573c0 0x40>;
   25         interrupts = <21 0x4>, <22 0x4>;
   26         interrupt-names = "IRQ_HOTMON_LOW", "IRQ_HOTMON_HIGH";
   27 
   28         num-trips = <3>;
   29 
   30         trip0-temp = <75000>;
   31         trip0-type = "active";
   32         trip0-cdev-num = <1>;
   33         trip0-cdev-name0 = "thermal-cpufreq-0";
   34 
   35         trip1-temp = <80000>;
   36         trip1-type = "active";
   37         trip1-cdev-num = <2>;
   38         trip1-cdev-name0 = "thermal-cpufreq-0";
   39         trip1-cdev-name1 = "thermal-fan";
   40 
   41         trip2-temp = <85000>;
   42         trip2-type = "critical";
   43         trip2-cdev-num = <0>;
   44 }

Cache object: 44d6cfd265bddee842fe1e44e8975a94


[ 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.