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