162306a36Sopenharmony_ci* ST-Ericsson DB8500 Thermal
262306a36Sopenharmony_ci
362306a36Sopenharmony_ci** Thermal node properties:
462306a36Sopenharmony_ci
562306a36Sopenharmony_ci- compatible : "stericsson,db8500-thermal";
662306a36Sopenharmony_ci- reg : address range of the thermal sensor registers;
762306a36Sopenharmony_ci- interrupts : interrupts generated from PRCMU;
862306a36Sopenharmony_ci- interrupt-names : "IRQ_HOTMON_LOW" and "IRQ_HOTMON_HIGH";
962306a36Sopenharmony_ci- num-trips : number of total trip points, this is required, set it 0 if none,
1062306a36Sopenharmony_ci  if greater than 0, the following properties must be defined;
1162306a36Sopenharmony_ci- tripN-temp : temperature of trip point N, should be in ascending order;
1262306a36Sopenharmony_ci- tripN-type : type of trip point N, should be one of "active" "passive" "hot"
1362306a36Sopenharmony_ci  "critical";
1462306a36Sopenharmony_ci- tripN-cdev-num : number of the cooling devices which can be bound to trip
1562306a36Sopenharmony_ci  point N, this is required if trip point N is defined, set it 0 if none,
1662306a36Sopenharmony_ci  otherwise the following cooling device names must be defined;
1762306a36Sopenharmony_ci- tripN-cdev-nameM : name of the No. M cooling device of trip point N;
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ciUsually the num-trips and tripN-*** are separated in board related dts files.
2062306a36Sopenharmony_ci
2162306a36Sopenharmony_ciExample:
2262306a36Sopenharmony_cithermal@801573c0 {
2362306a36Sopenharmony_ci	compatible = "stericsson,db8500-thermal";
2462306a36Sopenharmony_ci	reg = <0x801573c0 0x40>;
2562306a36Sopenharmony_ci	interrupts = <21 0x4>, <22 0x4>;
2662306a36Sopenharmony_ci	interrupt-names = "IRQ_HOTMON_LOW", "IRQ_HOTMON_HIGH";
2762306a36Sopenharmony_ci
2862306a36Sopenharmony_ci	num-trips = <3>;
2962306a36Sopenharmony_ci
3062306a36Sopenharmony_ci	trip0-temp = <75000>;
3162306a36Sopenharmony_ci	trip0-type = "active";
3262306a36Sopenharmony_ci	trip0-cdev-num = <1>;
3362306a36Sopenharmony_ci	trip0-cdev-name0 = "thermal-cpufreq-0";
3462306a36Sopenharmony_ci
3562306a36Sopenharmony_ci	trip1-temp = <80000>;
3662306a36Sopenharmony_ci	trip1-type = "active";
3762306a36Sopenharmony_ci	trip1-cdev-num = <2>;
3862306a36Sopenharmony_ci	trip1-cdev-name0 = "thermal-cpufreq-0";
3962306a36Sopenharmony_ci	trip1-cdev-name1 = "thermal-fan";
4062306a36Sopenharmony_ci
4162306a36Sopenharmony_ci	trip2-temp = <85000>;
4262306a36Sopenharmony_ci	trip2-type = "critical";
4362306a36Sopenharmony_ci	trip2-cdev-num = <0>;
4462306a36Sopenharmony_ci}
45