dmaengine: dw: Enable iDMA 32-bit on Intel Elkhart Lake
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 21 Jun 2019 13:19:14 +0000 (16:19 +0300)
committerVinod Koul <vkoul@kernel.org>
Tue, 25 Jun 2019 04:33:33 +0000 (10:03 +0530)
Intel Elkhart Lake OSE (Offload Service Engine) provides few DMA controllers
to the host. Enable them in the driver.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/dw/pci.c

index 6aa1355..8de87b1 100644 (file)
@@ -143,6 +143,11 @@ static const struct pci_device_id dw_pci_id_table[] = {
        { PCI_VDEVICE(INTEL, 0x2286), (kernel_ulong_t)&dw_pci_data },
        { PCI_VDEVICE(INTEL, 0x22c0), (kernel_ulong_t)&dw_pci_data },
 
+       /* Elkhart Lake iDMA 32-bit (OSE DMA) */
+       { PCI_VDEVICE(INTEL, 0x4bb4), (kernel_ulong_t)&idma32_pci_data },
+       { PCI_VDEVICE(INTEL, 0x4bb5), (kernel_ulong_t)&idma32_pci_data },
+       { PCI_VDEVICE(INTEL, 0x4bb6), (kernel_ulong_t)&idma32_pci_data },
+
        /* Haswell */
        { PCI_VDEVICE(INTEL, 0x9c60), (kernel_ulong_t)&dw_pci_data },