intel/common: Add ASL code for DPTF

Hardware / Coreboot - Shaunak Saha [intel.com] - 28 July 2016 13:09 UTC

This patch adds the common ASL code for Intel platforms. This is the basic ASL needed to add support for DPTF controlled devices. We are moving these commmon ASL files to src/soc/intel/common/acpi as these are same codes used in all Intel platforms and hence no need to duplicate.

BUG=chrome-os-partner:53096 TEST=Verify that the thermal zones are enumerated under /sys/class/thermal. Navigate to /sys/class/thermal, and verify that a thermal zone of type TCPU exists there.

Change-Id: I01078382a9008263c6ad99f6bf07558885af6a63

44887c3 intel/common: Add ASL code for DPTF
src/soc/intel/common/acpi/dptf/charger.asl | 75 ++++++++
src/soc/intel/common/acpi/dptf/cpu.asl | 196 +++++++++++++++++++
src/soc/intel/common/acpi/dptf/dptf.asl | 116 ++++++++++++
src/soc/intel/common/acpi/dptf/fan.asl | 68 +++++++
src/soc/intel/common/acpi/dptf/thermal.asl | 283 ++++++++++++++++++++++++++++
5 files changed, 738 insertions(+)

Upstream: review.coreboot.org


  • Share