mbox series

[v3,0/3] Add Arrow Lake U/H support

Message ID 20241219235543.236592-1-xi.pardee@linux.intel.com (mailing list archive)
Headers show
Series Add Arrow Lake U/H support | expand

Message

Xi Pardee Dec. 19, 2024, 11:55 p.m. UTC
This patch series contains three patches to add Arrow Lake
U/H support in intel_pmc_core driver. The first two patches
are preparation patches. The second patch creates a generic
init function for all platforms to reduce duplicate code.

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 (3):
  platform/x86:intel/pmc: Make tgl_core_generic_init() static
  platform/x86:intel/pmc: Create generic_core_init() for all platforms
  platform/x86/intel/pmc: Add Arrow Lake U/H support to intel_pmc_core
    driver

 drivers/platform/x86/intel/pmc/adl.c  | 21 +++----
 drivers/platform/x86/intel/pmc/arl.c  | 81 ++++++++++++++++-----------
 drivers/platform/x86/intel/pmc/cnp.c  | 21 +++----
 drivers/platform/x86/intel/pmc/core.c | 47 ++++++++++++++++
 drivers/platform/x86/intel/pmc/core.h | 27 ++++++++-
 drivers/platform/x86/intel/pmc/icl.c  | 18 ++----
 drivers/platform/x86/intel/pmc/lnl.c  | 24 +++-----
 drivers/platform/x86/intel/pmc/mtl.c  | 45 ++++-----------
 drivers/platform/x86/intel/pmc/spt.c  | 18 ++----
 drivers/platform/x86/intel/pmc/tgl.c  | 43 +++++++-------
 10 files changed, 189 insertions(+), 156 deletions(-)