From e9c002c393d8b4904f9d57c5c8e7cf1dfce5049b Mon Sep 17 00:00:00 2001 From: Duncan Laurie Date: Tue, 28 Jan 2014 14:03:43 -0800 Subject: [PATCH] baytrail: DPTF: Add PPCC object for power limit information This object is used by DPTF for power limiting in the CPU. It is nominally set to the SdpProfile 2 values. BUG=chrome-os-partner:17279 BRANCH=baytrail TEST=build and boot on rambi, start DPTF application Change-Id: I55f6a32cd61302dda6103745b22cb7233ad78b0b Signed-off-by: Duncan Laurie Reviewed-on: https://chromium-review.googlesource.com/184158 Reviewed-by: Aaron Durbin --- src/soc/intel/baytrail/acpi/dptf/cpu.asl | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/src/soc/intel/baytrail/acpi/dptf/cpu.asl b/src/soc/intel/baytrail/acpi/dptf/cpu.asl index f82c348961..aeb3b9a6df 100644 --- a/src/soc/intel/baytrail/acpi/dptf/cpu.asl +++ b/src/soc/intel/baytrail/acpi/dptf/cpu.asl @@ -123,4 +123,25 @@ Device (TCPU) Return (0) } } + + Name (PPCC, Package () + { + 0x2, // Revision + Package () { // Power Limit 1 + 0, // PowerLimitIndex, 0 for Power Limit 1 + 1600, // PowerLimitMinimum + 6200, // PowerLimitMaximum + 1000, // TimeWindowMinimum + 1000, // TimeWindowMaximum + 200 // StepSize + }, + Package () { // Power Limit 2 + 1, // PowerLimitIndex, 1 for Power Limit 2 + 8000, // PowerLimitMinimum + 8000, // PowerLimitMaximum + 1000, // TimeWindowMinimum + 1000, // TimeWindowMaximum + 1000 // StepSize + } + }) }