MLK-16093-2 thermal: qoriq: add necessary callbacks for cooling support
authorAnson Huang <Anson.Huang@nxp.com>
Fri, 28 Jul 2017 02:22:48 +0000 (10:22 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:36:12 +0000 (15:36 -0500)
commitc815f8a9dbb25d204eee392d57e01061d80ee8d3
tree61d48513f849070e73b1cabb96d668bdebd9d9b6
parent5a7fc69110907394b8e05d0ce697f4483a505540
MLK-16093-2 thermal: qoriq: add necessary callbacks for cooling support

Add get_trend and set_trip_temp to support i.MX8MQ cooling
device, get_trend is to customize cooling governor behavior,
once temperature exceeds passive trip, cooling device will work
at full function, and set_trip_temp is for updating trip
temp when do thermal test via modifying trip temp from sysfs.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
drivers/thermal/qoriq_thermal.c