mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-07-22 02:17:36 -04:00
platform/x86/intel/pmc: Add NVL PCI IDs for SSRAM telemetry discovery
Add Nova Lake S PMC device IDs to enable binding of the SSRAM telemetry driver on NVL platforms, and map them to the ACPI-based discovery policy. Signed-off-by: David E. Box <david.e.box@linux.intel.com> Link: https://patch.msgid.link/fc0e8bb00e2765fb7d145fef2ed1b0236b935c08.1781294741.git.david.e.box@linux.intel.com Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
This commit is contained in:
committed by
Ilpo Järvinen
parent
8a3607ece5
commit
50022e56dc
@@ -45,6 +45,16 @@ static const struct ssram_type pci_main = {
|
||||
.p_index = PMC_IDX_MAIN,
|
||||
};
|
||||
|
||||
static const struct ssram_type acpi_main = {
|
||||
.method = RES_METHOD_ACPI,
|
||||
.p_index = PMC_IDX_MAIN,
|
||||
};
|
||||
|
||||
static const struct ssram_type acpi_pch = {
|
||||
.method = RES_METHOD_ACPI,
|
||||
.p_index = PMC_IDX_PCH,
|
||||
};
|
||||
|
||||
enum pmc_ssram_state {
|
||||
PMC_SSRAM_UNPROBED = 0,
|
||||
PMC_SSRAM_PROBING,
|
||||
@@ -453,6 +463,12 @@ static const struct pci_device_id pmc_ssram_telemetry_pci_ids[] = {
|
||||
.driver_data = (kernel_ulong_t)&pci_main },
|
||||
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PMC_DEVID_WCL_PCDN),
|
||||
.driver_data = (kernel_ulong_t)&pci_main },
|
||||
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PMC_DEVID_NVL_PCDH),
|
||||
.driver_data = (kernel_ulong_t)&acpi_main },
|
||||
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PMC_DEVID_NVL_PCDS),
|
||||
.driver_data = (kernel_ulong_t)&acpi_main },
|
||||
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PMC_DEVID_NVL_PCHS),
|
||||
.driver_data = (kernel_ulong_t)&acpi_pch },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(pci, pmc_ssram_telemetry_pci_ids);
|
||||
|
||||
Reference in New Issue
Block a user