| 1 |
/* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 |
|
| 3 |
#include <intelblocks/itss.h> |
| 4 |
#include <intelblocks/pcr.h> |
| 5 |
#include <soc/pcr_ids.h> |
| 6 |
|
| 7 |
#define PCI_HOST_BRIDGE_OSC_UUID "33db4d5b-1ff7-401c-9657-7441c03dd766" |
| 8 |
|
| 9 |
Scope (\_SB) |
| 10 |
{ |
| 11 |
Method (DOSC, 4) |
| 12 |
{ |
| 13 |
If (Arg0 != ToUUID (PCI_HOST_BRIDGE_OSC_UUID)) |
| 14 |
{ |
| 15 |
CreateDWordField (Arg3, 0, DW1) |
| 16 |
DW1 |= 4 // Unrecognized UUID |
| 17 |
} |
| 18 |
Return (Arg3) |
| 19 |
} |
| 20 |
|
| 21 |
Device (PCI0) |
| 22 |
{ |
| 23 |
Method (_STA) |
| 24 |
{ |
| 25 |
Return (0xf) |
| 26 |
} |
| 27 |
Name (_HID, EISAID ("PNP0A08")) // PCI Express Bus |
| 28 |
Name (_CID, EISAID ("PNP0A03")) // PCI Bus |
| 29 |
Name (_UID, "PCI0") |
| 30 |
Name (_PXM, 0) |
| 31 |
Method (_OSC, 4) |
| 32 |
{ |
| 33 |
Return (\_SB.DOSC (Arg0, Arg1, Arg2, Arg3)) |
| 34 |
} |
| 35 |
} |
| 36 |
} |