diff options
author | Shyam Sundar S K <Shyam-sundar.S-k@amd.com> | 2023-12-28 13:21:03 +0300 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2024-01-02 15:40:29 +0300 |
commit | d33e992ec87a7a7b1839fac38573d2c0721569f9 (patch) | |
tree | add4e59e2b0af397a485d08a5d3818ed77f53487 /drivers/platform/x86 | |
parent | 9ae57d88609d2077a8340d316fc9849a601844f9 (diff) | |
download | linux-d33e992ec87a7a7b1839fac38573d2c0721569f9.tar.xz |
platform/x86/amd/pmc: Add 1Ah family series to STB support list
AMD newer platforms, (AMDI000A or family 1Ah series) also supports the STB
functionality. Add this to amd_pmc_is_stb_supported().
Signed-off-by: Sanket Goswami <Sanket.Goswami@amd.com>
Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20231228102104.1785383-6-Shyam-sundar.S-k@amd.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/platform/x86')
-rw-r--r-- | drivers/platform/x86/amd/pmc/pmc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/x86/amd/pmc/pmc.c b/drivers/platform/x86/amd/pmc/pmc.c index ceb2b5677f78..3845cbd17f71 100644 --- a/drivers/platform/x86/amd/pmc/pmc.c +++ b/drivers/platform/x86/amd/pmc/pmc.c @@ -627,6 +627,7 @@ static bool amd_pmc_is_stb_supported(struct amd_pmc_dev *dev) case AMD_CPU_ID_YC: case AMD_CPU_ID_CB: case AMD_CPU_ID_PS: + case PCI_DEVICE_ID_AMD_1AH_M20H_ROOT: return true; default: return false; |