]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/linux/platform_data/dma-imx.h
ENGR00317981: pxp: forward pxp driver to 3.14 kernel
[karo-tx-linux.git] / include / linux / platform_data / dma-imx.h
index beac6b8b6a7b3846cf3925cab343da187fc686e1..0eff734f88c49302b789fc811093a105b85f8e7b 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2004-2009 Freescale Semiconductor, Inc. All Rights Reserved.
+ * Copyright 2004-2013 Freescale Semiconductor, Inc. All Rights Reserved.
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 as
@@ -39,6 +39,7 @@ enum sdma_peripheral_type {
        IMX_DMATYPE_IPU_MEMORY, /* IPU Memory */
        IMX_DMATYPE_ASRC,       /* ASRC */
        IMX_DMATYPE_ESAI,       /* ESAI */
+       IMX_DMATYPE_SSI_DUAL,   /* SSI Dual FIFO */
 };
 
 enum imx_dma_prio {
@@ -58,6 +59,11 @@ static inline int imx_dma_is_ipu(struct dma_chan *chan)
        return !strcmp(dev_name(chan->device->dev), "ipu-core");
 }
 
+static inline int imx_dma_is_pxp(struct dma_chan *chan)
+{
+       return strstr(dev_name(chan->device->dev), "pxp") != NULL;
+}
+
 static inline int imx_dma_is_general_purpose(struct dma_chan *chan)
 {
        return !strcmp(chan->device->dev->driver->name, "imx-sdma") ||