aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/amd/pmc/pmc.h
diff options
context:
space:
mode:
authorShyam Sundar S K <[email protected]>2023-12-28 10:21:04 +0000
committerHans de Goede <[email protected]>2024-01-02 12:40:31 +0000
commit236f7d8034ff401d02fa6d74bae494a2b54e1834 (patch)
treea92ce1c102ea26366b9281aa35f828ef25cecda4 /drivers/platform/x86/amd/pmc/pmc.h
parentplatform/x86/amd/pmc: Add 1Ah family series to STB support list (diff)
downloadkernel-236f7d8034ff401d02fa6d74bae494a2b54e1834.tar.gz
kernel-236f7d8034ff401d02fa6d74bae494a2b54e1834.zip
platform/x86/amd/pmc: Modify SMU message port for latest AMD platform
The latest platforms use a different SMU message port(0x938) from the one currently being used (0x538). Make code changes to adapt to this new information. Signed-off-by: Sanket Goswami <[email protected]> Signed-off-by: Shyam Sundar S K <[email protected]> Reviewed-by: Ilpo Järvinen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'drivers/platform/x86/amd/pmc/pmc.h')
-rw-r--r--drivers/platform/x86/amd/pmc/pmc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/x86/amd/pmc/pmc.h b/drivers/platform/x86/amd/pmc/pmc.h
index b4794f118739..827eef65e133 100644
--- a/drivers/platform/x86/amd/pmc/pmc.h
+++ b/drivers/platform/x86/amd/pmc/pmc.h
@@ -26,6 +26,7 @@ struct amd_pmc_dev {
u32 dram_size;
u32 num_ips;
u32 s2d_msg_id;
+ u32 smu_msg;
/* SMU version information */
u8 smu_program;
u8 major;