Commit 79b97973 authored by Santosh Shilimkar's avatar Santosh Shilimkar

OMAP4: sDMA: Update the request lines and new registers.

This patch updates the platform dma.h with new dma request lines
for OMAP4 peripherals. Also additional hardware register of OMAP4
sDMA module are included.
Signed-off-by: default avatarSantosh Shilimkar <santosh.shilimkar@ti.com>
parent 427feb4a
...@@ -122,6 +122,10 @@ ...@@ -122,6 +122,10 @@
#define OMAP_DMA4_CCFN(n) (0x60 * (n) + 0xc0) #define OMAP_DMA4_CCFN(n) (0x60 * (n) + 0xc0)
#define OMAP_DMA4_COLOR(n) (0x60 * (n) + 0xc4) #define OMAP_DMA4_COLOR(n) (0x60 * (n) + 0xc4)
#define OMAP_DMA4_CDP_REG(n) (0x60 * (n) + 0xd0)
#define OMAP_DMA4_CNDP_REG(n) (0x60 * (n) + 0xd4)
#define OMAP_DMA4_CCDN_REG(n) (0x60 * (n) + 0xd8)
/* Dummy defines to keep multi-omap compiles happy */ /* Dummy defines to keep multi-omap compiles happy */
#define OMAP1_DMA_REVISION 0 #define OMAP1_DMA_REVISION 0
#define OMAP1_DMA_IRQSTATUS_L0 0 #define OMAP1_DMA_IRQSTATUS_L0 0
...@@ -210,7 +214,7 @@ ...@@ -210,7 +214,7 @@
#define OMAP_DMA_MMC2_RX 55 #define OMAP_DMA_MMC2_RX 55
#define OMAP_DMA_CRYPTO_DES_OUT 56 #define OMAP_DMA_CRYPTO_DES_OUT 56
/* DMA channels for 24xx */ /* DMA channels for 24xx 34xx and 44xx*/
#define OMAP24XX_DMA_NO_DEVICE 0 #define OMAP24XX_DMA_NO_DEVICE 0
#define OMAP24XX_DMA_XTI_DMA 1 /* S_DMA_0 */ #define OMAP24XX_DMA_XTI_DMA 1 /* S_DMA_0 */
#define OMAP24XX_DMA_EXT_DMAREQ0 2 /* S_DMA_1 */ #define OMAP24XX_DMA_EXT_DMAREQ0 2 /* S_DMA_1 */
...@@ -311,6 +315,65 @@ ...@@ -311,6 +315,65 @@
#define OMAP34XX_DMA_USIM_TX 79 /* S_DMA_78 */ #define OMAP34XX_DMA_USIM_TX 79 /* S_DMA_78 */
#define OMAP34XX_DMA_USIM_RX 80 /* S_DMA_79 */ #define OMAP34XX_DMA_USIM_RX 80 /* S_DMA_79 */
#define OMAP44XX_DMA_DSS_LINE_TRIG 6 /* S_DMA_5 */
#define OMAP44XX_DMA_MCASP1_AXEVT 8 /* S_DMA_7 */
#define OMAP44XX_DMA_ISS_DMA_REQ0 9 /* S_DMA_8 */
#define OMAP44XX_DMA_ISS_DMA_REQ1 10 /* S_DMA_9 */
#define OMAP44XX_DMA_MCASP1_AREVT 11 /* S_DMA_10 */
#define OMAP44XX_DMA_ISS_DMA_REQ2 12 /* S_DMA_11 */
#define OMAP44XX_DMA_ISS_DMA_REQ3 13 /* S_DMA_12 */
#define OMAP44XX_DMA_DSS_RFBI_DMA_REQ 14 /* S_DMA_13 */
#define OMAP44XX_DMA_MCBSP2_TX 17 /* S_DMA_16 */
#define OMAP44XX_DMA_MCBSP2_RX 18 /* S_DMA_17 */
#define OMAP44XX_DMA_MCBSP3_TX 19 /* S_DMA_18 */
#define OMAP44XX_DMA_MCBSP3_RX 20 /* S_DMA_19 */
#define OMAP44XX_DMA_MCBSP4_TX 31 /* S_DMA_30 */
#define OMAP44XX_DMA_MCBSP4_RX 32 /* S_DMA_31 */
#define OMAP44XX_DMA_MCBSP1_TX 33 /* S_DMA_32 */
#define OMAP44XX_DMA_MCBSP1_RX 34 /* S_DMA_33 */
#define OMAP44XX_DMA_UART4_DMA_TX 55 /* S_DMA_54 */
#define OMAP44XX_DMA_UART4_DMA_RX 56 /* S_DMA_55 */
#define OMAP44XX_DMA_MMC4_DMA_TX 57 /* S_DMA_56 */
#define OMAP44XX_DMA_MMC5_DMA_TX 59 /* S_DMA_58 */
#define OMAP44XX_DMA_MMC5_DMA_RX 60 /* S_DMA_59 */
#define OMAP44XX_DMA_MCPDM_UP 65 /* S_DMA_64 */
#define OMAP44XX_DMA_MCPDM_DL 66 /* S_DMA_65 */
#define OMAP44XX_DMA_DMIC_DMA_REQ 67 /* S_DMA_66 */
#define OMAP44XX_DSS_HDMI_DMA_REQ 76 /* S_DMA_75 */
#define OMAP44XX_DMM_DSS_DSI2_DMA0 81 /* S_DMA_80 */
#define OMAP44XX_DMM_DSS_DSI2_DMA1 82 /* S_DMA_81 */
#define OMAP44XX_DMM_DSS_DSI2_DMA2 83 /* S_DMA_82 */
#define OMAP44XX_DMM_DSS_DSI2_DMA3 84 /* S_DMA_83 */
#define OMAP44XX_DMM_SLIMBUS1_DMA_TX0 85 /* S_DMA_84 */
#define OMAP44XX_DMM_SLIMBUS1_DMA_TX1 86 /* S_DMA_85 */
#define OMAP44XX_DMM_SLIMBUS1_DMA_TX2 87 /* S_DMA_86 */
#define OMAP44XX_DMM_SLIMBUS1_DMA_TX3 88 /* S_DMA_87 */
#define OMAP44XX_DMM_SLIMBUS1_DMA_RX0 89 /* S_DMA_88 */
#define OMAP44XX_DMM_SLIMBUS1_DMA_RX1 90 /* S_DMA_89 */
#define OMAP44XX_DMM_SLIMBUS1_DMA_RX2 91 /* S_DMA_90 */
#define OMAP44XX_DMM_SLIMBUS1_DMA_RX3 92 /* S_DMA_91 */
#define OMAP44XX_DMM_SLIMBUS2_DMA_TX0 93 /* S_DMA_92 */
#define OMAP44XX_DMM_SLIMBUS2_DMA_TX1 94 /* S_DMA_93 */
#define OMAP44XX_DMM_SLIMBUS2_DMA_TX2 95 /* S_DMA_94 */
#define OMAP44XX_DMM_SLIMBUS2_DMA_TX3 96 /* S_DMA_95 */
#define OMAP44XX_DMM_SLIMBUS2_DMA_RX0 97 /* S_DMA_96 */
#define OMAP44XX_DMM_SLIMBUS2_DMA_RX1 98 /* S_DMA_97 */
#define OMAP44XX_DMM_SLIMBUS2_DMA_RX2 99 /* S_DMA_98 */
#define OMAP44XX_DMM_SLIMBUS2_DMA_RX3 100 /* S_DMA_99 */
#define OMAP44XX_DMM_ABE_DMAREQ0 101 /* S_DMA_100*/
#define OMAP44XX_DMM_ABE_DMAREQ1 102 /* S_DMA_101*/
#define OMAP44XX_DMM_ABE_DMAREQ2 103 /* S_DMA_102*/
#define OMAP44XX_DMM_ABE_DMAREQ3 104 /* S_DMA_103*/
#define OMAP44XX_DMM_ABE_DMAREQ4 105 /* S_DMA_104*/
#define OMAP44XX_DMM_ABE_DMAREQ5 106 /* S_DMA_105*/
#define OMAP44XX_DMM_ABE_DMAREQ6 107 /* S_DMA_106*/
#define OMAP44XX_DMM_ABE_DMAREQ7 108 /* S_DMA_107*/
#define OMAP44XX_DMM_I2C4_DMA_TX 124 /* S_DMA_123*/
#define OMAP44XX_DMM_I2C4_DMA_RX 125 /* S_DMA_124*/
/*----------------------------------------------------------------------------*/ /*----------------------------------------------------------------------------*/
/* Hardware registers for LCD DMA */ /* Hardware registers for LCD DMA */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment