diff options
author | Lokesh Vutla <lokeshvutla@ti.com> | 2012-10-15 21:03:51 (GMT) |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-10-15 21:03:51 (GMT) |
commit | d5e7c864f386306587f7f43ed22d48ef7e4050d6 (patch) | |
tree | ee0188a3e164efaf325c120565987bc35920b5f8 /drivers/usb/musb/tusb6010_omap.c | |
parent | 8c4cc00552664d0be259388f2b1a49036c3757fa (diff) | |
download | linux-fsl-qoriq-d5e7c864f386306587f7f43ed22d48ef7e4050d6.tar.xz |
ARM: OMAP2+: DMA: Moving OMAP2+ DMA channel definitions to mach-omap2
Similar to omap1, some of the omap2+ dma channel definitions are
used by some drivers. For moving omap2+ dma channel definitions
to mach-omap2/, the used ones should be defined locally to driver.
Drivers can eliminate it using DT, platform data, or IORESOURCE_DMA
And moving omap2+ DMA channel definitions to mach-omap2
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'drivers/usb/musb/tusb6010_omap.c')
-rw-r--r-- | drivers/usb/musb/tusb6010_omap.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/usb/musb/tusb6010_omap.c b/drivers/usb/musb/tusb6010_omap.c index 7a62b95..c032fc2 100644 --- a/drivers/usb/musb/tusb6010_omap.c +++ b/drivers/usb/musb/tusb6010_omap.c @@ -25,6 +25,13 @@ #define MAX_DMAREQ 5 /* REVISIT: Really 6, but req5 not OK */ +#define OMAP24XX_DMA_EXT_DMAREQ0 2 +#define OMAP24XX_DMA_EXT_DMAREQ1 3 +#define OMAP242X_DMA_EXT_DMAREQ2 14 +#define OMAP242X_DMA_EXT_DMAREQ3 15 +#define OMAP242X_DMA_EXT_DMAREQ4 16 +#define OMAP242X_DMA_EXT_DMAREQ5 64 + struct tusb_omap_dma_ch { struct musb *musb; void __iomem *tbase; |