From e04c20962aede1aa9e6899bd3072daa82e8613bd Mon Sep 17 00:00:00 2001 From: Duncan Laurie Date: Thu, 30 Jan 2014 07:33:23 -0800 Subject: [PATCH] baytrail: DPTF: Add _CRT/_PSV objects for the CPU participant These can be used by DPTF with the CPU particpant and DTS in addition to the external thermal sensors. BUG=chrome-os-partner:17279 BRANCH=baytrail TEST=build and boot on rambi, start DPTF application Change-Id: I15df46183f4da4b2d7c8ee4687a71bff641d6b70 Signed-off-by: Duncan Laurie Reviewed-on: https://chromium-review.googlesource.com/184442 Reviewed-by: Aaron Durbin --- src/soc/intel/baytrail/acpi/dptf/cpu.asl | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/soc/intel/baytrail/acpi/dptf/cpu.asl b/src/soc/intel/baytrail/acpi/dptf/cpu.asl index aeb3b9a6df..93d434b8b4 100644 --- a/src/soc/intel/baytrail/acpi/dptf/cpu.asl +++ b/src/soc/intel/baytrail/acpi/dptf/cpu.asl @@ -144,4 +144,18 @@ Device (TCPU) 1000 // StepSize } }) + +#ifdef DPTF_CPU_CRITICAL + Method (_CRT) + { + Return (^^CTOK (DPTF_CPU_CRITICAL)) + } +#endif + +#ifdef DPTF_CPU_PASSIVE + Method (_PSV) + { + Return (^^CTOK (DPTF_CPU_PASSIVE)) + } +#endif }