From 25d59e84b55a143fb2a4efe2aa9d8cc18d5121a4 Mon Sep 17 00:00:00 2001 From: Leonard Mai Date: Mon, 28 Nov 2011 05:53:27 -0800 Subject: [PATCH] intel_mid_dma: add cloverview probing support BZ: 15578 Cloverview SOC use different PCI Device ID for DMA hence existing Medfield DMA driver won't be initialized on Cloverview SOC. This patch adds GP-DMA/LPE-DMA probing support for Cloverview SOC Change-Id: I837815f7d5a9f0f1ceae7a5f913456130ed621f4 Signed-off-by: Leonard D Mai Reviewed-by: Pierre Tardy Tested-by: Siva Prasath Ponnusamy Reviewed-on: http://android.intel.com:8080/25444 Reviewed-by: Seibel, Eric Tested-by: Seibel, Eric Reviewed-by: buildbot Tested-by: buildbot --- drivers/dma/intel_mid_dma.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/dma/intel_mid_dma.c b/drivers/dma/intel_mid_dma.c index 8a0fc17..70bf49d 100644 --- a/drivers/dma/intel_mid_dma.c +++ b/drivers/dma/intel_mid_dma.c @@ -35,6 +35,8 @@ #define INTEL_MID_DMAC2_ID 0x0813 #define INTEL_MID_GP_DMAC2_ID 0x0827 #define INTEL_MFLD_DMAC1_ID 0x0830 +#define INTEL_CLV_GP_DMAC2_ID 0x08EF +#define INTEL_CLV_DMAC1_ID 0x08F0 #define LNW_PERIPHRAL_MASK_BASE 0xFFAE8008 #define LNW_PERIPHRAL_MASK_SIZE 0x10 #define LNW_PERIPHRAL_STATUS 0x0 @@ -1457,6 +1459,12 @@ static struct pci_device_id intel_mid_dma_ids[] = { INFO(2, 0, 2047, 0)}, { PCI_VDEVICE(INTEL, INTEL_MFLD_DMAC1_ID), INFO(4, 0, 4095, 0x400040)}, + + /* Cloverview support */ + { PCI_VDEVICE(INTEL, INTEL_CLV_GP_DMAC2_ID), + INFO(2, 0, 2047, 0)}, + { PCI_VDEVICE(INTEL, INTEL_CLV_DMAC1_ID), + INFO(4, 0, 4095, 0x400040)}, { 0, } }; MODULE_DEVICE_TABLE(pci, intel_mid_dma_ids); -- 2.7.4