intel/skylake: Add Fan control support
commit2ca76e688cd74f021c4d0a2e74a83b7baa41f6bd
authorSumeet Pawnikar <sumeet.r.pawnikar@intel.com>
Mon, 19 Oct 2015 09:15:23 +0000 (19 14:45 +0530)
committerPatrick Georgi <pgeorgi@google.com>
Thu, 5 Nov 2015 16:40:17 +0000 (5 17:40 +0100)
tree76317645c260af6f34521950acfdb7671cf4f63b
parenta28e9084bf58dc4094a3383b2887a50b9756f2e1
intel/skylake: Add Fan control support

This patch adds the ASL file for Fan as cooling device
/participant for thermal active cooling action for DPTF
on SKL-U fan based kunimitsu board.
With active cooling policy (_ART), we can control the fan
on/off and speed.

BRANCH=None
BUG=chrome-os-partner:46493
TEST=Built for kunimitsu board. Tested to see that the
thermal devices and the participants are enumerated and
can be seen in the /sys/bus/platform/devices. Also,
checked the FAN type the cooling devices enumerated
in the /sys/class/thermal with sysfs interface.

Change-Id: Iacfd9152e300ec47895c29deab2c9d4361230849
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: d37a089b5196f02cb95f16083c416456e96d54a4
Original-Change-Id: I8293bfe2a2bf213b69fbb4223bbfcf508a9cf0bf
Original-Signed-off-by: Sumeet Pawnikar <sumeet.r.pawnikar@intel.com>
Original-Reviewed-on: https://chromium-review.googlesource.com/307027
Original-Commit-Ready: Sumeet R Pawnikar <sumeet.r.pawnikar@intel.com>
Original-Tested-by: Sumeet R Pawnikar <sumeet.r.pawnikar@intel.com>
Original-Reviewed-by: Sumeet R Pawnikar <sumeet.r.pawnikar@intel.com>
Original-Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: http://review.coreboot.org/12322
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
src/soc/intel/skylake/acpi/dptf/dptf.asl
src/soc/intel/skylake/acpi/dptf/fan.asl [new file with mode: 0644]