soc/intel/alderlake: Add ADL-P 4+4 with 28W TDP
[coreboot.git] / src / ec / lenovo / h8 / acpi / lid.asl
blob7695e4e5ab33543f887df2ba0ecc8b4c4c6474f7
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 Field(ERAM, ByteAcc, NoLock, Preserve)
5                 Offset (0x32),
6                             , 2,
7                         WKLD, 1,
8                 Offset (0x46),
9                             , 2,
10                         LIDS, 1
13 Device(LID)
15         Name(_HID, "PNP0C0D")
17         Method(_LID, 0, NotSerialized)
18         {
19                 return (LIDS)
20         }
22         Method(_PRW, 0, NotSerialized)
23         {
24                 Return (Package() { 0x18, 0x03 })
25         }
27         Method(_PSW, 1, NotSerialized)
28         {
29                 if (Arg0) {
30                         WKLD = 1
31                 } else {
32                         WKLD = 0
33                 }
34         }