]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
platform/x86/amd/pmc: Add PMC driver support for AMD 1Ah M80H SoC
authorShyam Sundar S K <Shyam-sundar.S-k@amd.com>
Tue, 9 Jun 2026 14:39:52 +0000 (20:09 +0530)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Wed, 10 Jun 2026 11:14:26 +0000 (14:14 +0300)
commit043af31c8d3031bbeb77dfdc6373005ef3b8a23b
tree11e7d8189d29a3c0d949f6121201d19b5e218c7e
parentc3a2521bcc8e4913a246132f276e5ce1251dd1cd
platform/x86/amd/pmc: Add PMC driver support for AMD 1Ah M80H SoC

The 1Ah M80H SoC uses a different set of SMU mailbox register offsets
compared to the existing 1Ah variants: message at 0xA10, argument at
0xA18, and response at 0xA14.

Add amd_1ah_m80_cpu_info with these offsets, wire it into the PCI ID
table via PCI_DEVICE_DATA(), populate scratch_reg field with
AMD_PMC_SCRATCH_REG_1AH and add the corresponding ACPI ID AMDI000C.

Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org>
Co-developed-by: Sanket Goswami <Sanket.Goswami@amd.com>
Signed-off-by: Sanket Goswami <Sanket.Goswami@amd.com>
Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
Link: https://patch.msgid.link/20260609143952.2999707-3-Shyam-sundar.S-k@amd.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/amd/pmc/pmc.c
drivers/platform/x86/amd/pmc/pmc.h