On platforms with multiple PMCs, additional PMC devices are discovered in the SSRAM device associated with the primary PMC. Add support for discovering PMC devices from SSRAM. Use PMC devid to assign the corresponding register map. Signed-off-by: Xi Pardee <xi.pardee@intel.com> Signed-off-by: David E. Box <david.e.box@linux.intel.com> Signed-off-by: Rajvi Jingar <rajvi.jingar@linux.intel.com> Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Link: https://lore.kernel.org/r/20230613225347.2720665-6-rajvi.jingar@linux.intel.com Signed-off-by: Hans de Goede <hdegoede@redhat.com>
10 lines
311 B
Makefile
10 lines
311 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Intel x86 Platform-Specific Drivers
|
|
#
|
|
|
|
intel_pmc_core-y := core.o core_ssram.o spt.o cnp.o \
|
|
icl.o tgl.o adl.o mtl.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
|