File tree Expand file tree Collapse file tree 4 files changed +561
-1
lines changed
drivers/platform/x86/intel/pmc Expand file tree Collapse file tree 4 files changed +561
-1
lines changed Original file line number Diff line number Diff line change 44#
55
66intel_pmc_core-y := core.o core_ssram.o spt.o cnp.o \
7- icl.o tgl.o adl.o mtl.o arl.o lnl.o
7+ icl.o tgl.o adl.o mtl.o arl.o lnl.o ptl.o
88obj-$(CONFIG_INTEL_PMC_CORE) += intel_pmc_core.o
99intel_pmc_core_pltdrv-y := pltdrv.o
1010obj-$(CONFIG_INTEL_PMC_CORE) += intel_pmc_core_pltdrv.o
Original file line number Diff line number Diff line change @@ -1413,6 +1413,7 @@ static const struct x86_cpu_id intel_pmc_core_ids[] = {
14131413 X86_MATCH_VFM (INTEL_ARROWLAKE_H , & arl_h_pmc_dev ),
14141414 X86_MATCH_VFM (INTEL_ARROWLAKE_U , & arl_h_pmc_dev ),
14151415 X86_MATCH_VFM (INTEL_LUNARLAKE_M , & lnl_pmc_dev ),
1416+ X86_MATCH_VFM (INTEL_PANTHERLAKE_L , & ptl_pmc_dev ),
14161417 {}
14171418};
14181419
Original file line number Diff line number Diff line change @@ -285,6 +285,14 @@ enum ppfear_regs {
285285#define LNL_PPFEAR_NUM_ENTRIES 12
286286#define LNL_S0IX_BLOCKER_OFFSET 0x2004
287287
288+ /* Panther Lake Power Management Controller register offsets */
289+ #define PTL_LPM_NUM_MAPS 14
290+ #define PTL_PMC_LTR_SATA2 0x1B90
291+ #define PTL_PMC_LTR_PMC 0x1BA8
292+ #define PTL_PMC_LTR_CUR_ASLT 0x1C28
293+ #define PTL_PMC_LTR_CUR_PLT 0x1C2C
294+ #define PTL_PCD_PMC_MMIO_REG_LEN 0x31A8
295+
288296extern const char * pmc_lpm_modes [];
289297
290298struct pmc_bit_map {
@@ -626,6 +634,7 @@ extern struct pmc_dev_info mtl_pmc_dev;
626634extern struct pmc_dev_info arl_pmc_dev ;
627635extern struct pmc_dev_info arl_h_pmc_dev ;
628636extern struct pmc_dev_info lnl_pmc_dev ;
637+ extern struct pmc_dev_info ptl_pmc_dev ;
629638
630639void cnl_suspend (struct pmc_dev * pmcdev );
631640int cnl_resume (struct pmc_dev * pmcdev );
You can’t perform that action at this time.
0 commit comments