Skip to content

Commit 5d3acd9

Browse files
Shyam Sundar S Kjwrdegoede
authored andcommitted
platform/x86/amd: pmf: Add new ACPI ID AMDI0103
Add new ACPI ID AMDI0103 used by upcoming AMD platform to the PMF supported list of devices. Signed-off-by: Shyam Sundar S K <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Hans de Goede <[email protected]>
1 parent 822507c commit 5d3acd9

File tree

1 file changed

+3
-0
lines changed
  • drivers/platform/x86/amd/pmf

1 file changed

+3
-0
lines changed

drivers/platform/x86/amd/pmf/core.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
/* List of supported CPU ids */
4141
#define AMD_CPU_ID_RMB 0x14b5
4242
#define AMD_CPU_ID_PS 0x14e8
43+
#define PCI_DEVICE_ID_AMD_1AH_M20H_ROOT 0x1507
4344

4445
#define PMF_MSG_DELAY_MIN_US 50
4546
#define RESPONSE_REGISTER_LOOP_MAX 20000
@@ -242,6 +243,7 @@ int amd_pmf_send_cmd(struct amd_pmf_dev *dev, u8 message, bool get, u32 arg, u32
242243
static const struct pci_device_id pmf_pci_ids[] = {
243244
{ PCI_DEVICE(PCI_VENDOR_ID_AMD, AMD_CPU_ID_RMB) },
244245
{ PCI_DEVICE(PCI_VENDOR_ID_AMD, AMD_CPU_ID_PS) },
246+
{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_1AH_M20H_ROOT) },
245247
{ }
246248
};
247249

@@ -333,6 +335,7 @@ static void amd_pmf_deinit_features(struct amd_pmf_dev *dev)
333335
static const struct acpi_device_id amd_pmf_acpi_ids[] = {
334336
{"AMDI0100", 0x100},
335337
{"AMDI0102", 0},
338+
{"AMDI0103", 0},
336339
{ }
337340
};
338341
MODULE_DEVICE_TABLE(acpi, amd_pmf_acpi_ids);

0 commit comments

Comments
 (0)