soc/intel/pantherlake: Remove soc_info.[hc] interface
[coreboot2.git] / src / soc / intel / skylake / acpi / dptf / fan.asl
blobeb75ba94ab801c7073b01e55c3fd3b37cac8ba09
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 Device (TFN1)
5         Name (_HID, "INT3404")
6         Name (_UID, 0)
7         Name (_STR, Unicode("Fan Control"))
9         /* _FIF: Fan Information */
10         Name (_FIF, Package ()
11         {
12                 0,      // Revision
13                 1,      // Fine Grained Control
14                 2,      // Step Size
15                 0       // No Low Speed Notification
16         })
18         /* Return Fan Performance States defined by mainboard */
19         Method (_FPS)
20         {
21                 Return (\_SB.DFPS)
22         }
24         Name (TFST, Package ()
25         {
26                 0,      // Revision
27                 0x00,   // Control
28                 0x00    // Speed
29         })
31         /* _FST: Fan current Status */
32         Method (_FST, 0, Serialized,,PkgObj)
33         {
34                 /* Fill in TFST with current control. */
35                 TFST [1] = \_SB.PCI0.LPCB.EC0.FAND
36                 Return (TFST)
37         }
39         /* _FSL: Fan Speed Level */
40         Method (_FSL, 1, Serialized)
41         {
42                 \_SB.PCI0.LPCB.EC0.FAND = Arg0
43         }
45         Method (_STA)
46         {
47                 If (\DPTE == 1)
48                 {
49                         Return (0xF)
50                 } Else {
51                         Return (0x0)
52                 }
53         }