Re: [PATCH] thermal: tell cooling devices when a trip_point changes

2014-07-31 Thread Matt Longnecker
I should have labeled my message RFC. My intent was to generate some public discussion about a problem I've hit -- not to get this particular patch merged. On 07/31/2014 01:30 AM, Zhang Rui wrote: On Wed, 2014-07-30 at 16:10 -0700, Matt Longnecker wrote: Some hardware can react autonomously a

Re: [PATCH] thermal: tell cooling devices when a trip_point changes

2014-07-31 Thread Zhang Rui
On Wed, 2014-07-30 at 16:10 -0700, Matt Longnecker wrote: > Some hardware can react autonomously at a programmed temperature. if you have a temperature sensor, then you should have a thermal zone device driver for it, right? > For example, an SoC might implement a last ditch throttle or a > hardw

Re: [PATCH] thermal: tell cooling devices when a trip_point changes

2014-07-31 Thread Javi Merino
On Thu, Jul 31, 2014 at 12:10:40AM +0100, Matt Longnecker wrote: > Some hardware can react autonomously at a programmed temperature. > For example, an SoC might implement a last ditch throttle or a > hardware thermal shutdown. The driver for such a device can > register itself as a cooling_device w

[PATCH] thermal: tell cooling devices when a trip_point changes

2014-07-30 Thread Matt Longnecker
Some hardware can react autonomously at a programmed temperature. For example, an SoC might implement a last ditch throttle or a hardware thermal shutdown. The driver for such a device can register itself as a cooling_device with the thermal framework. With this change, the thermal framework notif