Files
OrangePi_CM5/include/linux
Javi Merino e33df1d2f3 thermal: let governors have private data for each thermal zone
A governor may need to store its current state between calls to
throttle().  That state depends on the thermal zone, so store it as
private data in struct thermal_zone_device.

The governors may have two new ops: bind_to_tz() and unbind_from_tz().
When provided, these functions let governors do some initialization
and teardown when they are bound/unbound to a tz and possibly store that
information in the governor_data field of the struct
thermal_zone_device.

Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Eduardo Valentin <edubezval@gmail.com>
Signed-off-by: Javi Merino <javi.merino@arm.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
2015-05-04 21:27:52 -07:00
..
…
2015-03-29 16:17:10 +01:00
…
…
2015-04-07 11:17:34 +02:00
…
…
…
…
…
2015-03-25 20:28:11 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2015-04-17 09:03:53 -04:00
…
2015-04-17 08:31:12 -06:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2015-03-11 15:56:59 -07:00
…
…
…
…
…
…
…
…
…
2015-04-16 12:33:51 +09:30
…
…
…
…
…
…
…
2015-02-12 18:54:15 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2015-03-02 16:43:41 -05:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2015-02-18 15:08:33 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2015-03-16 21:45:54 +11:00
…
2015-04-03 16:18:02 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2015-02-13 21:21:36 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2015-04-14 16:49:05 -07:00
…
2015-03-25 11:44:52 +01:00
…
…
2015-04-17 09:04:07 -04:00
…
…
2015-03-31 12:04:12 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2015-04-23 14:36:28 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
2015-03-11 17:56:28 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2015-04-12 21:03:31 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2015-02-17 14:34:52 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2015-02-24 08:44:16 +01:00
2015-03-26 18:18:20 +01:00
…
…
…
…
…
…
…
…
…
…
2015-04-25 15:49:49 -04:00
2015-02-13 21:21:41 -08:00
…
…
…
…
2015-03-11 21:55:28 -04:00
2015-04-11 15:53:35 -04:00
…
…
…
…
…
…
…
…
…
2015-02-13 21:21:35 -08:00
…
…
…
…
…
…
2015-03-25 13:28:58 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2015-04-11 22:29:44 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2015-03-24 09:48:14 -07:00
…
…
…
…
…
…
…
…
2015-04-15 16:35:20 -07:00
…