diff options
Diffstat (limited to 'src/soc/intel/baytrail/acpi/dptf/dptf.asl')
-rw-r--r-- | src/soc/intel/baytrail/acpi/dptf/dptf.asl | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/src/soc/intel/baytrail/acpi/dptf/dptf.asl b/src/soc/intel/baytrail/acpi/dptf/dptf.asl index b6368868e3..6aebddc6a6 100644 --- a/src/soc/intel/baytrail/acpi/dptf/dptf.asl +++ b/src/soc/intel/baytrail/acpi/dptf/dptf.asl @@ -8,7 +8,7 @@ Device (DPTF) /* DPPM Passive Policy 1.0 */ ToUUID("42A441D6-AE6A-462B-A84B-4A8CE79027D3"), - /* DPPM Critical Policy */ + /* DPPM Critical Policy */ ToUUID("97C68AE7-15FA-499c-B8C9-5DA81D606E0A"), /* DPPM Cooling Policy */ @@ -35,9 +35,15 @@ Device (DPTF) Return (\_SB.DTRT) } - /* Thermal Threshold Event Handler */ - Method (TEVT, 0, Serialized) - { + /* 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) } /* Include CPU Participant */ @@ -46,6 +52,8 @@ Device (DPTF) /* Include Thermal Participants */ #include "thermal.asl" +#ifdef DPTF_ENABLE_CHARGER /* Include Charger Participant */ #include "charger.asl" +#endif } |