summaryrefslogtreecommitdiff
path: root/src/soc/intel/baytrail/acpi/dptf/cpu.asl
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@chromium.org>2014-01-06 12:33:59 -0800
committerKyösti Mälkki <kyosti.malkki@gmail.com>2014-05-13 20:59:27 +0200
commita36d60af1ab93945bd216ec3b698f9358840cd96 (patch)
tree6dbc6339f971954dae7ea2fed2c79659cec3d7ef /src/soc/intel/baytrail/acpi/dptf/cpu.asl
parent93e244433a510cd57012973192cffb3fa50d66e3 (diff)
downloadcoreboot-a36d60af1ab93945bd216ec3b698f9358840cd96.tar.xz
baytrail: Updates for DPTF ACPI framework
- Remove some unused functions from CPU participant that were confusing the userland component since the CPU does not have an ACPI managed sensor. - Guard the charger participant with an ifdef so it can be left out if not supported. - Use the EC methods for setting auxiliary trip points and for handling the event when those trip points are crossed. - Add _NTT _DTI _SCP methods for thermal sensors. I'm not clear if these are required or not but they seem to be expected by the other DPTF framework components. BUG=chrome-os-partner:17279 BRANCH=rambi TEST=build and boot on rambi and load ESIF framework Change-Id: I3c9d92d5c52e5a7ec890a377e65ebf118cdd7087 Signed-off-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/181662 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/5028 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/soc/intel/baytrail/acpi/dptf/cpu.asl')
-rw-r--r--src/soc/intel/baytrail/acpi/dptf/cpu.asl54
1 files changed, 0 insertions, 54 deletions
diff --git a/src/soc/intel/baytrail/acpi/dptf/cpu.asl b/src/soc/intel/baytrail/acpi/dptf/cpu.asl
index 6e6c7921a0..f82c348961 100644
--- a/src/soc/intel/baytrail/acpi/dptf/cpu.asl
+++ b/src/soc/intel/baytrail/acpi/dptf/cpu.asl
@@ -9,7 +9,6 @@ Device (TCPU)
{
Name (_HID, EISAID ("INT3401"))
Name (_UID, 0)
- Name (CTYP, 0) /* Passive Cooling by default */
Method (_STA)
{
@@ -124,57 +123,4 @@ Device (TCPU)
Return (0)
}
}
-
- /*
- * DPTF
- */
-
- /* Convert from Degrees C to 1/10 Kelvin for ACPI */
- Method (CTOK, 1) {
- /* 10th of Degrees C */
- Multiply (Arg0, 10, Local0)
-
- /* Convert to Kelvin */
- Add (Local0, 2732, Local0)
-
- Return (Local0)
- }
-
- /* Critical temperature from NVS */
- Method (_CRT, 0, Serialized)
- {
- Return (CTOK (\TCRT))
- }
-
- /* Hot temperature is 3 less than critical temperature */
- Method (_HOT, 0, Serialized)
- {
- Return (CTOK (Subtract (\TCRT, 3)))
- }
-
- Method (_PSV, 0, Serialized)
- {
- If (CTYP) {
- Return (CTOK (\TACT))
- } Else {
- Return (CTOK (\TPSV))
- }
- }
-
- /* Set Cooling Policy
- * Arg0 - Cooling policy mode, 1=active, 0=passive
- * Arg1 - Acoustic Limit
- * Arg2 - Power Limit
- */
- Method (_SCP, 3, Serialized)
- {
- If (LEqual (Arg0, 0)) {
- Store (0, CTYP)
- } Else {
- Store (1, CTYP)
- }
-
- /* DPTF Thermal Trip Points Changed Event */
- Notify (TCPU, 0x91)
- }
}