Skip to content

Commit 4f3eec1

Browse files
xpardee-createjwrdegoede
authored andcommitted
platform/x86:intel/pmc: Update LNL signal status map
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>
1 parent 05857e1 commit 4f3eec1

2 files changed

Lines changed: 22 additions & 1 deletion

File tree

drivers/platform/x86/intel/pmc/core.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -537,6 +537,7 @@ extern const struct pmc_bit_map lnl_vnn_misc_status_map[];
537537
extern const struct pmc_bit_map *lnl_lpm_maps[];
538538
extern const struct pmc_bit_map lnl_pfear_map[];
539539
extern const struct pmc_bit_map *ext_lnl_pfear_map[];
540+
extern const struct pmc_bit_map lnl_signal_status_map[];
540541

541542
/* ARL */
542543
extern const struct pmc_bit_map arl_socs_ltr_show_map[];

drivers/platform/x86/intel/pmc/lnl.c

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,26 @@ const struct pmc_bit_map lnl_clocksource_status_map[] = {
317317
{}
318318
};
319319

320+
const struct pmc_bit_map lnl_signal_status_map[] = {
321+
{"LSX_Wake0_STS", BIT(0)},
322+
{"LSX_Wake1_STS", BIT(1)},
323+
{"LSX_Wake2_STS", BIT(2)},
324+
{"LSX_Wake3_STS", BIT(3)},
325+
{"LSX_Wake4_STS", BIT(4)},
326+
{"LSX_Wake5_STS", BIT(5)},
327+
{"LSX_Wake6_STS", BIT(6)},
328+
{"LSX_Wake7_STS", BIT(7)},
329+
{"LPSS_Wake0_STS", BIT(8)},
330+
{"LPSS_Wake1_STS", BIT(9)},
331+
{"Int_Timer_SS_Wake0_STS", BIT(10)},
332+
{"Int_Timer_SS_Wake1_STS", BIT(11)},
333+
{"Int_Timer_SS_Wake2_STS", BIT(12)},
334+
{"Int_Timer_SS_Wake3_STS", BIT(13)},
335+
{"Int_Timer_SS_Wake4_STS", BIT(14)},
336+
{"Int_Timer_SS_Wake5_STS", BIT(15)},
337+
{}
338+
};
339+
320340
const struct pmc_bit_map *lnl_lpm_maps[] = {
321341
lnl_clocksource_status_map,
322342
lnl_power_gating_status_0_map,
@@ -331,7 +351,7 @@ const struct pmc_bit_map *lnl_lpm_maps[] = {
331351
lnl_vnn_req_status_2_map,
332352
lnl_vnn_req_status_3_map,
333353
lnl_vnn_misc_status_map,
334-
mtl_socm_signal_status_map,
354+
lnl_signal_status_map,
335355
NULL
336356
};
337357

0 commit comments

Comments
 (0)