[PATCH v4 0/6] Add Arrow Lake U/H support

From: Xi Pardee
Date: Thu Jan 09 2025 - 19:26:32 EST


This patch series contains six patches to add Arrow Lake
U/H support in intel_pmc_core driver.

The first five patches are preparation patches. The second
patch creates a generic init function for all platforms. The
fourth patch create a callback field that allows platform
specific action to be done in generic init function. The
fifth patch removes all per architecture init functions.

v4->v3:
- Remove all per architecture init functions and replace with
pmc_dev_info structures in x86_cpu_id structure in core.c.
- Remove fixup field and add arch_specific field in
pmc_dev_info structure.
- Move ssram init comment to be function comment.
- Remove ssram field in pmc_dev_info structure.
- Captilize PMC
- Remove PMC_IDX_SOC

v3->v2:
- Create a generic init function for all platforms

v2->v1:
- Create an info structure for platform variation information
- Make generic init function to static in tgl.c
- Fix typo

Xi Pardee (6):
platform/x86:intel/pmc: Make tgl_core_generic_init() static
platform/x86/intel/pmc: Remove duplicate enum
platform/x86:intel/pmc: Create generic_core_init() for all platforms
platform/x86/intel/pmc: Create architecture specific callback
platform/x86/intel/pmc: Remove init functions per architecture
platform/x86/intel/pmc: Add Arrow Lake U/H support to intel_pmc_core
driver

drivers/platform/x86/intel/pmc/adl.c | 22 ++----
drivers/platform/x86/intel/pmc/arl.c | 78 +++++++++++--------
drivers/platform/x86/intel/pmc/cnp.c | 21 ++----
drivers/platform/x86/intel/pmc/core.c | 103 +++++++++++++++++++-------
drivers/platform/x86/intel/pmc/core.h | 52 ++++++++++---
drivers/platform/x86/intel/pmc/icl.c | 18 +----
drivers/platform/x86/intel/pmc/lnl.c | 24 ++----
drivers/platform/x86/intel/pmc/mtl.c | 44 +++--------
drivers/platform/x86/intel/pmc/spt.c | 18 +----
drivers/platform/x86/intel/pmc/tgl.c | 40 ++++------
10 files changed, 210 insertions(+), 210 deletions(-)

--
2.43.0