Skip to contentSkip to conversation

McBSP support for 2430/34XX

PATCH New Chandra shekhar 1 participant 1 message Dec 20, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 McBSP support for 2430/34XX

Hi,

This patch adds support for McBSP on 2430/34XX. It has been verified in digital loopback mode for 2430/34XX. Some McBSP dma lines have been hardcoded, as there is a discussion going on in linux-omap about Cleanup of DMA Request Lines. Since 2430 onwards registers are 32 bit, all the instances of omap24xx which were relevant to only 2420 has been changed to omap2420.

The patch includes the following features.

1. Supporting all the LP features.
2. Support of DMA chaining mode and one time configuration for entire transfer to improve performance.
3. Independent configurations and transfer of Rx and Tx
4. MCBSP data transfer in 8, 16 and 32 bit mode.

---
 arch/arm/configs/omap_3430sdp_defconfig |    2 
 arch/arm/plat-omap/mcbsp.c              | 1111 ++++++++++++++++++++++++++++++--
 include/asm-arm/arch-omap/mcbsp.h       |  300 +++++++-
 3 files changed, 1326 insertions(+), 87 deletions(-)
arch/arm/configs/omap_3430sdp_defconfig +1 -1
Index: linux-omap-2.6/arch/arm/configs/omap_3430sdp_defconfig
===================================================================
@@ -155,7 +155,7 @@
 CONFIG_OMAP_MUX=y
 CONFIG_OMAP_MUX_DEBUG=y
 CONFIG_OMAP_MUX_WARNINGS=y
-# CONFIG_OMAP_MCBSP is not set
+CONFIG_OMAP_MCBSP=y
 # CONFIG_OMAP_MMU_FWK is not set
 # CONFIG_OMAP_MBOX_FWK is not set
 CONFIG_OMAP_MPU_TIMER=y
arch/arm/plat-omap/mcbsp.c +1070 -41

1,320 lines not on this page · raw message

include/asm-arm/arch-omap/mcbsp.h +255 -45

359 lines not on this page · raw message