Skip to content

Commit 822507c

Browse files
Shyam Sundar S Kjwrdegoede
authored andcommitted
platform/x86/amd: pmc: Add new ACPI ID AMDI000A
Add new ACPI ID AMDI000A used by upcoming AMD platform to the pmc supported list of devices Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com> Link: https://lore.kernel.org/r/20230711100344.383948-1-Shyam-sundar.S-k@amd.com Signed-off-by: Hans de Goede <hdegoede@redhat.com>
1 parent d194803 commit 822507c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

  • drivers/platform/x86/amd

drivers/platform/x86/amd/pmc.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@
9696
#define AMD_CPU_ID_CB 0x14D8
9797
#define AMD_CPU_ID_PS 0x14E8
9898
#define AMD_CPU_ID_SP 0x14A4
99+
#define PCI_DEVICE_ID_AMD_1AH_M20H_ROOT 0x1507
99100

100101
#define PMC_MSG_DELAY_MIN_US 50
101102
#define RESPONSE_REGISTER_LOOP_MAX 20000
@@ -907,6 +908,7 @@ static const struct pci_device_id pmc_pci_ids[] = {
907908
{ PCI_DEVICE(PCI_VENDOR_ID_AMD, AMD_CPU_ID_PCO) },
908909
{ PCI_DEVICE(PCI_VENDOR_ID_AMD, AMD_CPU_ID_RV) },
909910
{ PCI_DEVICE(PCI_VENDOR_ID_AMD, AMD_CPU_ID_SP) },
911+
{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_1AH_M20H_ROOT) },
910912
{ }
911913
};
912914

@@ -1098,6 +1100,7 @@ static const struct acpi_device_id amd_pmc_acpi_ids[] = {
10981100
{"AMDI0007", 0},
10991101
{"AMDI0008", 0},
11001102
{"AMDI0009", 0},
1103+
{"AMDI000A", 0},
11011104
{"AMD0004", 0},
11021105
{"AMD0005", 0},
11031106
{ }

0 commit comments

Comments
 (0)