platform/x86:intel/pmc: Update LNL signal status map
authorXi Pardee <xi.pardee@intel.com>
Fri, 26 Apr 2024 00:27:50 +0000 (17:27 -0700)
committerHans de Goede <hdegoede@redhat.com>
Mon, 29 Apr 2024 11:18:06 +0000 (13:18 +0200)
Update Lunar Lake signal status map. This status map has been updated
since the map was merged. This patch updates the signal status map to
the lastest version.

Signed-off-by: Xi Pardee <xi.pardee@intel.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20240426002752.2504282-2-xi.pardee@linux.intel.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/intel/pmc/core.h
drivers/platform/x86/intel/pmc/lnl.c

index 83504c49a0e313cba1bd201f4efaa88fb915cb8b..18ba4f901c108693a488b9cd97487a7e3185142c 100644 (file)
@@ -537,6 +537,7 @@ extern const struct pmc_bit_map lnl_vnn_misc_status_map[];
 extern const struct pmc_bit_map *lnl_lpm_maps[];
 extern const struct pmc_bit_map lnl_pfear_map[];
 extern const struct pmc_bit_map *ext_lnl_pfear_map[];
+extern const struct pmc_bit_map lnl_signal_status_map[];
 
 /* ARL */
 extern const struct pmc_bit_map arl_socs_ltr_show_map[];
index ec89e7dda103ae053394cb2df9f0b124c5e51029..82c881653f86297f9c72c8b8ce2236bd248db9dc 100644 (file)
@@ -317,6 +317,26 @@ const struct pmc_bit_map lnl_clocksource_status_map[] = {
        {}
 };
 
+const struct pmc_bit_map lnl_signal_status_map[] = {
+       {"LSX_Wake0_STS",                BIT(0)},
+       {"LSX_Wake1_STS",                BIT(1)},
+       {"LSX_Wake2_STS",                BIT(2)},
+       {"LSX_Wake3_STS",                BIT(3)},
+       {"LSX_Wake4_STS",                BIT(4)},
+       {"LSX_Wake5_STS",                BIT(5)},
+       {"LSX_Wake6_STS",                BIT(6)},
+       {"LSX_Wake7_STS",                BIT(7)},
+       {"LPSS_Wake0_STS",               BIT(8)},
+       {"LPSS_Wake1_STS",               BIT(9)},
+       {"Int_Timer_SS_Wake0_STS",       BIT(10)},
+       {"Int_Timer_SS_Wake1_STS",       BIT(11)},
+       {"Int_Timer_SS_Wake2_STS",       BIT(12)},
+       {"Int_Timer_SS_Wake3_STS",       BIT(13)},
+       {"Int_Timer_SS_Wake4_STS",       BIT(14)},
+       {"Int_Timer_SS_Wake5_STS",       BIT(15)},
+       {}
+};
+
 const struct pmc_bit_map *lnl_lpm_maps[] = {
        lnl_clocksource_status_map,
        lnl_power_gating_status_0_map,
@@ -331,7 +351,7 @@ const struct pmc_bit_map *lnl_lpm_maps[] = {
        lnl_vnn_req_status_2_map,
        lnl_vnn_req_status_3_map,
        lnl_vnn_misc_status_map,
-       mtl_socm_signal_status_map,
+       lnl_signal_status_map,
        NULL
 };