diff options
author | Lokesh Vutla <lokeshvutla@ti.com> | 2012-10-15 23:03:51 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-10-15 23:03:51 +0200 |
commit | d5e7c864f386306587f7f43ed22d48ef7e4050d6 (patch) | |
tree | ee0188a3e164efaf325c120565987bc35920b5f8 /drivers/usb | |
parent | ARM: OMAP1: DMA: Moving OMAP1 DMA channel definitions to mach-omap1 (diff) | |
download | linux-d5e7c864f386306587f7f43ed22d48ef7e4050d6.tar.xz linux-d5e7c864f386306587f7f43ed22d48ef7e4050d6.zip |
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')
-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 7a62b95dac24..c032fc2132d0 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; |