mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-31 22:23:05 +00:00

Convert ssram device related functionalities to a new driver named Intel PMC SSRAM Telemetry driver. Modify PMC Core driver to use API exported by the driver to discover and achieve devid and PWRMBASE address information for each available PMC. PMC Core driver needs to get PCI device when reading from telemetry regions. The new SSRAM driver binds to the SSRAM device and provides the following functionalities: 1. Look for and register telemetry regions available in SSRAM device. 2. Provide devid and PWRMBASE address information for the corresponding PMCs. Signed-off-by: Xi Pardee <xi.pardee@linux.intel.com> Link: https://lore.kernel.org/r/20250425195237.493129-3-xi.pardee@linux.intel.com Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
15 lines
463 B
Makefile
15 lines
463 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Intel x86 Platform-Specific Drivers
|
|
#
|
|
|
|
intel_pmc_core-y := core.o spt.o cnp.o icl.o \
|
|
tgl.o adl.o mtl.o arl.o lnl.o ptl.o
|
|
obj-$(CONFIG_INTEL_PMC_CORE) += intel_pmc_core.o
|
|
intel_pmc_core_pltdrv-y := pltdrv.o
|
|
obj-$(CONFIG_INTEL_PMC_CORE) += intel_pmc_core_pltdrv.o
|
|
|
|
# Intel PMC SSRAM driver
|
|
intel_pmc_ssram_telemetry-y += ssram_telemetry.o
|
|
obj-$(CONFIG_INTEL_PMC_SSRAM_TELEMETRY) += intel_pmc_ssram_telemetry.o
|