[PATCH v4 0/6] acerhdf/thermal: adding new models, appropriate governor and minor clean up

Peter Feuerer
2014-07-20T00:51:35Z

Hi,

This patch series is intended to:

* Introduce "manual mode" support (Patch 1 & 2), which is needed to control
the fan of a few new models.

* Add an appropriate thermal governor (Patch 3 & 4). Manipulating and
fiddling around with the step-wise governor has been a very fragile thing
in the past and as it broke again, I used the opportunity to add a two
point thermal governor which implements the actual fan handling required by
acerhdf and puts from my point of view things straight.

* Do some minor clean up like:
- adding second trip point for critical temperature (Patch 5)
- removing _t suffix from struct which isn't typedef and replace unsigned
char by u8 (Patch 6)

Thanks and kind regards,
peter

Peter Feuerer (6):
acerhdf: Adding support for "manual mode"
acerhdf: Adding support for new models
thermal: Added Bang-bang thermal governor
acerhdf: Use bang-bang thermal governor
acerhdf: added critical trip point
acerhdf: minor clean up

drivers/platform/x86/Kconfig | 2 +-
drivers/platform/x86/acerhdf.c | 266 ++++++++++++++++++++++++++--------------
drivers/thermal/Kconfig | 10 ++
drivers/thermal/Makefile | 1 +
drivers/thermal/gov_bang_bang.c | 131 ++++++++++++++++++++
drivers/thermal/thermal_core.c | 5 +
drivers/thermal/thermal_core.h | 8 ++
7 files changed, 327 insertions(+), 96 deletions(-)
create mode 100644 drivers/thermal/gov_bang_bang.c

--
2.0.2