tree: drop last paragraph of GPL copyright header
[coreboot.git] / src / mainboard / roda / rk886ex / acpi / thermal.asl
blob84845becb013db1470651dd593be7a37c8a97544
1 /*
2  * This file is part of the coreboot project.
3  *
4  * Copyright (C) 2007-2009 coresystems GmbH
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public License as
8  * published by the Free Software Foundation; version 2 of
9  * the License.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  */
17 // Thermal Zone
19 Scope (\_TZ)
21         ThermalZone (THRM)
22         {
24                 // FIXME these could/should be read from the
25                 // GNVS area, so they can be controlled by
26                 // coreboot
27                 Name(TC1V, 0x04)
28                 Name(TC2V, 0x03)
29                 Name(TSPV, 0x64)
31                 // At which temperature should the OS start
32                 // active cooling?
33                 Method (_AC0, 0, Serialized)
34                 {
35                         Return (0xf5c) // Value for Rocky
36                 }
38                 // Method (_AC1, 0, Serialized)
39                 // {
40                 //      Return (0xf5c)
41                 // }
43                 // Critical shutdown temperature
44                 Method (_CRT, 0, Serialized)
45                 {
46                         Return (Add (0x0aac, 0x50)) // FIXME
47                 }
49                 // CPU throttling start temperature
50                 Method (_PSV, 0, Serialized)
51                 {
52                         Return (0xaaf) // FIXME
53                 }
55                 // Get DTS Temperature
56                 Method (_TMP, 0, Serialized)
57                 {
58                         Return (0xaac) // FIXME
59                 }
61                 // Processors used for active cooling
62                 Method (_PSL, 0, Serialized)
63                 {
64                         If (MPEN) {
65                                 Return (Package() {\_PR.CP00, \_PR.CP01})
66                         }
67                         Return (Package() {\_PR.CP00})
68                 }
70                 // TC1 value for passive cooling
71                 Method (_TC1, 0, Serialized)
72                 {
73                         Return (TC1V)
74                 }
76                 // TC2 value for passive cooling
77                 Method (_TC2, 0, Serialized)
78                 {
79                         Return (TC2V)
80                 }
82                 // Sampling period for passive cooling
83                 Method (_TSP, 0, Serialized)
84                 {
85                         Return (TSPV)
86                 }
89         }