coreboot-kgpe-d16/src
Patrick Rudolph 0709dc0468 ec/lenovo/h8/acpi/thermal: Add ACPI fan control
Disengage the fan 10 degree below passive threshold as the automatic EC fan
control does not disengage the FAN even when CPU starts melting ...

* Add EC registers FAND and FANA.
* Add ACPI methods _AC0 and _AL0.
* Add fan device and PowerResource for fan control.

Tested on Lenovo T430:
* The fan disengages at 80°C and keeps running at full speed until temperature
  drops below 80°C.
* Fan can be disengaged using sysfs:
  /sys/devics/virtual/thermal/cooling_device0/cur_state
Tested on Lenovo T500:
* The fan disengages at 80°C and keeps running at full speed until temperature
  drops below 80°C.
* Fan cannot be disengaged using sysfs, but the current state can be read:
  /sys/devics/virtual/thermal/cooling_device0/cur_state

Change-Id: I075ff5c69676927db1c5e731294e18796884f97e
Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-on: https://review.coreboot.org/21227
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2017-11-04 19:10:29 +00:00
..
acpi src/acpi: Add guards on all header files 2017-08-01 23:04:27 +00:00
arch arch/x86/acpigen: Add function to write a CPU package 2017-11-04 17:23:06 +00:00
commonlib commonlib/helpers.h: Include stddef.h 2017-11-04 00:32:13 +00:00
console console: Ignore loglevel in nvram until ramstage 2017-09-25 13:35:29 +00:00
cpu cpu/intel/speedstep: Emit PPKG object for first package 2017-11-04 17:23:11 +00:00
device security/vboot: Move vboot2 to security kconfig section 2017-10-22 02:14:46 +00:00
drivers siemens/nc_fpga: Set FW_DONE bit before jumping to payload 2017-11-03 16:20:15 +00:00
ec ec/lenovo/h8/acpi/thermal: Add ACPI fan control 2017-11-04 19:10:29 +00:00
include include: Deactivate timestamp_get if kconfig option not set 2017-11-04 00:28:57 +00:00
lib lib/reg_script.c: Remove unused assignment 2017-11-03 07:51:56 +00:00
mainboard mainboard/google/kahlee: remove unused FILECODE macro 2017-11-04 02:59:32 +00:00
northbridge nb/intel/gm45: Enable LAPIC monotonic timer 2017-11-03 16:19:27 +00:00
security security/vboot: Move vboot2 to security kconfig section 2017-10-22 02:14:46 +00:00
soc soc/amd/stoneyridge: don't open code known literals 2017-11-04 02:58:57 +00:00
southbridge sb and soc: Enforce correct offset of member "chromeos" in global_nvs_t 2017-11-04 00:33:26 +00:00
superio superio/acpi/pnp.asl: Fix PNP_READ_DMA/PNP_WRITE_DMA macros 2017-10-25 14:32:39 +00:00
vendorcode vendorcode/amd/pi/00670F00: remove unused headers 2017-11-03 21:54:39 +00:00
Kconfig intel/common/smbus: increase spd read performance 2017-10-31 15:49:55 +00:00