Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

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