]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
platform/x86: intel_pmc_ipc: Add APL PMC PCI Id
authorRajneesh Bhardwaj <rajneesh.bhardwaj@intel.com>
Mon, 13 Feb 2017 10:41:47 +0000 (16:11 +0530)
committerDarren Hart <dvhart@linux.intel.com>
Sat, 25 Feb 2017 07:48:47 +0000 (23:48 -0800)
This patch adds the PCI Device id for Power Management Controller on Intel
Apollo Lake platforms.

Intel PMC IPC Driver loads as a platform driver on Apollo Lake platforms
since Intel BIOS hides the PCI Configuration space for 0:13:1 and
re-enumerates it as ACPI device (INT34D2). The correct PCI Device ID should
be added if some platform firmware choses to enumerate the device via PCI
space.

Signed-off-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/intel_pmc_ipc.c

index 9dae8434bd78c432d2a352cc6635bd1daed1d156..0651d47b8eeb7e59aa371ff61388a1df79b25ce0 100644 (file)
@@ -408,6 +408,7 @@ static void ipc_pci_remove(struct pci_dev *pdev)
 static const struct pci_device_id ipc_pci_ids[] = {
        {PCI_VDEVICE(INTEL, 0x0a94), 0},
        {PCI_VDEVICE(INTEL, 0x1a94), 0},
+       {PCI_VDEVICE(INTEL, 0x5a94), 0},
        { 0,}
 };
 MODULE_DEVICE_TABLE(pci, ipc_pci_ids);