db8500-thermal.txt 1.4 KB

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