linux/arch/arm/plat-omap/include/plat
Janusz Krzysztofik c8c99699bd omap: McBSP: Introduce caching in register write operations
Determine cache size required per McBSP port at init time, based on
processor type running on.

Allocate space for storing cached copies of McBSP register values at
port request.

Modify omap_msbcp_write() function to update the cache with every
register write operation.

Modify omap_mcbsp_read() to support reading from cache or hardware.

Update MCBSP_READ() macro for modified omap_mcbsp_read() function API.

Introduce a new macro that reads from the cache.

Tested on OMAP1510 based Amstrad Delta using linux-omap for-next, commit
fb7380d70e041e4b3892f6b19dff7efb609d15a4 (2.6.33-rc3+ dated 2010-01-11).
Compile-tested with: omap_perseus2_730_defconfig, omap_generic_1610_defconfig,
omap_generic_2420_defconfig, omap_2430sdp_defconfig, omap_3430sdp_defconfig,
omap_4430sdp_defconfig with CONFIG_OMAP_MCBSP=y selected.

Signed-off-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Acked-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Acked-by: Jarkko Nikula <jhnikula@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2010-02-15 10:03:33 -08:00
..
blizzard.h
board-ams-delta.h
board-sx1.h
board-voiceblue.h
board.h omap1: Fix compile for omap1_bl.c 2010-01-08 10:29:06 -08:00
clkdev_omap.h OMAP3 clock: reorganize CK_* platform flags 2010-01-26 20:12:56 -07:00
clkdev.h
clock.h omap2/3/4: Replace orred CONFIG_ARCH_OMAP2/3/4 with CONFIG_ARCH_OMAP2PLUS 2010-02-15 09:27:04 -08:00
clockdomain.h OMAP clockdomain/powerdomain: improve documentation 2010-01-26 20:13:02 -07:00
common.h omap: Clean the serial port defines 2010-02-15 08:48:53 -08:00
control.h omap2/3/4: Replace orred CONFIG_ARCH_OMAP2/3/4 with CONFIG_ARCH_OMAP2PLUS 2010-02-15 09:27:04 -08:00
cpu.h omap: Move multi-omap ifdeffery into it's own header file 2010-02-15 09:27:24 -08:00
display.h OMAP: DSS2: Display Subsystem Driver core 2009-12-09 12:04:34 +02:00
dma.h omap1: DMA: move LCD related code from plat-omap to mach-omap1 2009-12-11 16:16:33 -08:00
dmtimer.h
dsp_common.h
flash.h omap: convert boards to use physmap-flash 2010-02-15 10:03:32 -08:00
fpga.h
gpio-switch.h
gpio.h OMAP3: PM: GPIO context save/restore 2009-11-11 14:40:12 -08:00
gpmc-smc91x.h
gpmc.h omap: Correcting GPMC_CONFIG1_DEVICETYPE_NAND 2009-12-11 16:16:35 -08:00
hardware.h
hwa742.h
i2c.h omap: Split i2c platform init for mach-omap1 and mach-omap2 2009-12-11 16:16:32 -08:00
io.h omap3: Replace ARCH_OMAP34XX with ARCH_OMAP3 2010-02-15 09:27:02 -08:00
iommu2.h
iommu.h
iovmm.h
irda.h
irqs.h OMAP3: PM: Disable interrupt controller AUTOIDLE before WFI 2010-01-20 18:16:00 -08:00
keypad.h
lcd_mipid.h
led.h
mailbox.h omap: mailbox: OMAP4 Mailbox-driver Patch to support tasklet implementation 2009-11-22 10:24:33 -08:00
mcbsp.h omap: McBSP: Introduce caching in register write operations 2010-02-15 10:03:33 -08:00
mcspi.h
memory.h omap2/3/4: Replace orred CONFIG_ARCH_OMAP2/3/4 with CONFIG_ARCH_OMAP2PLUS 2010-02-15 09:27:04 -08:00
menelaus.h omap2: Convert ARCH_OMAP24XX to ARCH_OMAP2 2010-02-15 09:27:01 -08:00
mmc.h
multi.h omap: Move multi-omap ifdeffery into it's own header file 2010-02-15 09:27:24 -08:00
mux.h omap2: Convert ARCH_OMAP24XX to ARCH_OMAP2 2010-02-15 09:27:01 -08:00
nand.h
omap7xx.h omap1: Add 7xx clocks and pin muxes for SPI 2010-01-08 10:29:05 -08:00
omap16xx.h omap: Clean the serial port defines 2010-02-15 08:48:53 -08:00
omap24xx.h omap2: Convert ARCH_OMAP24XX to ARCH_OMAP2 2010-02-15 09:27:01 -08:00
omap34xx.h omap3: Replace ARCH_OMAP34XX with ARCH_OMAP3 2010-02-15 09:27:02 -08:00
omap44xx.h ARM: OMAP4: PM: Fix the PRM and CM base addresses 2009-12-11 17:00:44 -07:00
omap730.h
omap850.h
omap1510.h
omap_device.h OMAP: omap_device: optionally auto-adjust device activate/deactivate latencies 2010-01-26 20:13:02 -07:00
omap_hwmod.h OMAP: hwmod: add API for slave idlemode setting 2010-01-26 20:13:03 -07:00
omap-alsa.h
omap-pm.h
onenand.h
param.h
powerdomain.h OMAP clockdomain/powerdomain: improve documentation 2010-01-26 20:13:02 -07:00
prcm.h OMAP2/3 clkdm/pwrdm: move wkdep/sleepdep handling from pwrdm to clkdm 2010-01-26 20:12:59 -07:00
sdrc.h OMAP2: Add funcs for writing SMS_ROT_* registers 2009-12-09 11:44:32 +02:00
serial.h omap: Make uncompress code and DEBUG_LL code generic 2010-02-15 08:49:01 -08:00
smp.h OMAP4: AuxCoreBoot registers only accessible in secure mode 2009-12-11 16:16:35 -08:00
sram.h OMAP3: PM: CORE domain off-mode support 2009-11-11 14:42:25 -08:00
system.h
tc.h
timer-gp.h
timex.h
uncompress.h omap: Make uncompress code and DEBUG_LL code generic 2010-02-15 08:49:01 -08:00
usb.h omap: update plat/usb.h to allow ehci driver to build 2009-11-22 10:24:32 -08:00
vram.h OMAP: Add VRAM manager 2009-12-09 12:04:33 +02:00
vrfb.h OMAP: Add support for VRFB rotation engine 2009-12-09 12:04:33 +02:00