Loading Documentation/devicetree/bindings/thermal/thermal.txt +5 −0 Original line number Diff line number Diff line Loading @@ -175,6 +175,11 @@ Optional property: 2000mW, while on a 10'' tablet is around 4500mW. - tracks-low: Indicates that the temperature sensor tracks the low Type: bool thresholds, so the governors may mitigate by ensuring timing closures and other low temperature operating issues. Note: The delay properties are bound to the maximum dT/dt (temperature derivative over time) in two situations for a thermal zone: (i) - when passive cooling is activated (polling-delay-passive); and Loading drivers/thermal/of-thermal.c +3 −0 Original line number Diff line number Diff line Loading @@ -1007,6 +1007,9 @@ int __init of_parse_thermal_zones(void) tzp->slope = tz->slope; tzp->offset = tz->offset; if (of_property_read_bool(child, "tracks-low")) tzp->tracks_low = true; zone = thermal_zone_device_register(child->name, tz->ntrips, mask, tz, ops, tzp, Loading include/linux/thermal.h +6 −0 Original line number Diff line number Diff line Loading @@ -348,6 +348,12 @@ struct thermal_zone_params { * Used by thermal zone drivers (default 0). */ int offset; /* * @tracks_low: Indicates that the thermal zone params are for * temperatures falling below the thresholds. */ bool tracks_low; }; struct thermal_genl_event { Loading Loading
Documentation/devicetree/bindings/thermal/thermal.txt +5 −0 Original line number Diff line number Diff line Loading @@ -175,6 +175,11 @@ Optional property: 2000mW, while on a 10'' tablet is around 4500mW. - tracks-low: Indicates that the temperature sensor tracks the low Type: bool thresholds, so the governors may mitigate by ensuring timing closures and other low temperature operating issues. Note: The delay properties are bound to the maximum dT/dt (temperature derivative over time) in two situations for a thermal zone: (i) - when passive cooling is activated (polling-delay-passive); and Loading
drivers/thermal/of-thermal.c +3 −0 Original line number Diff line number Diff line Loading @@ -1007,6 +1007,9 @@ int __init of_parse_thermal_zones(void) tzp->slope = tz->slope; tzp->offset = tz->offset; if (of_property_read_bool(child, "tracks-low")) tzp->tracks_low = true; zone = thermal_zone_device_register(child->name, tz->ntrips, mask, tz, ops, tzp, Loading
include/linux/thermal.h +6 −0 Original line number Diff line number Diff line Loading @@ -348,6 +348,12 @@ struct thermal_zone_params { * Used by thermal zone drivers (default 0). */ int offset; /* * @tracks_low: Indicates that the thermal zone params are for * temperatures falling below the thresholds. */ bool tracks_low; }; struct thermal_genl_event { Loading