summaryrefslogtreecommitdiffstats
path: root/drivers/dma/sf-pdma/sf-pdma.h
diff options
context:
space:
mode:
authorVinod Koul <vkoul@kernel.org>2024-01-19 12:33:06 +0100
committerVinod Koul <vkoul@kernel.org>2024-01-19 12:33:06 +0100
commitb93216d3be55924c43e097c1fbb21bbe1a5a5d5c (patch)
treeb4390bef4955d15cd5d20901a13f5d89238f870e /drivers/dma/sf-pdma/sf-pdma.h
parentdmaengine: fsl-edma: fix DMA channel leak in eDMAv4 (diff)
parentdmaengine: xilinx: xdma: statify xdma_prep_interleaved_dma (diff)
downloadlinux-b93216d3be55924c43e097c1fbb21bbe1a5a5d5c.tar.xz
linux-b93216d3be55924c43e097c1fbb21bbe1a5a5d5c.zip
Merge tag 'dmaengine-6.8-rc1' into fixes
dmaengine updates for v6.8 New support: - Loongson LS2X APB DMA controller - sf-pdma: mpfs-pdma support - Qualcomm X1E80100 GPI dma controller support Updates: - Xilinx XDMA updates to support interleaved DMA transfers - TI PSIL threads for AM62P and J722S and cfg register regions description - axi-dmac Improving the cyclic DMA transfers - Tegra Support dma-channel-mask property - Remaining platform remove callback returning void conversions
Diffstat (limited to 'drivers/dma/sf-pdma/sf-pdma.h')
-rw-r--r--drivers/dma/sf-pdma/sf-pdma.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/dma/sf-pdma/sf-pdma.h b/drivers/dma/sf-pdma/sf-pdma.h
index d05772b5d8d3..215e07183d7e 100644
--- a/drivers/dma/sf-pdma/sf-pdma.h
+++ b/drivers/dma/sf-pdma/sf-pdma.h
@@ -48,7 +48,8 @@
#define PDMA_ERR_STATUS_MASK GENMASK(31, 31)
/* Transfer Type */
-#define PDMA_FULL_SPEED 0xFF000008
+#define PDMA_FULL_SPEED 0xFF000000
+#define PDMA_STRICT_ORDERING BIT(3)
/* Error Recovery */
#define MAX_RETRY 1
@@ -112,8 +113,13 @@ struct sf_pdma {
struct dma_device dma_dev;
void __iomem *membase;
void __iomem *mappedbase;
+ u32 transfer_type;
u32 n_chans;
struct sf_pdma_chan chans[] __counted_by(n_chans);
};
+struct sf_pdma_driver_platdata {
+ u32 quirks;
+};
+
#endif /* _SF_PDMA_H */