linux/arch/arm/mach-omap1
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
..
include/mach omap: Make uncompress code and DEBUG_LL code generic 2010-02-15 08:49:01 -08:00
board-ams-delta.c Merge branch '7xx-iosplit-plat' with omap-fixes 2009-11-10 18:10:34 -08:00
board-fsample.c omap: convert boards to use physmap-flash 2010-02-15 10:03:32 -08:00
board-generic.c Merge branch '7xx-iosplit-plat' with omap-fixes 2009-11-10 18:10:34 -08:00
board-h2-mmc.c omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
board-h2.c omap: convert boards to use physmap-flash 2010-02-15 10:03:32 -08:00
board-h2.h ARM: OMAP: No need to include board-h2.h from hardware.h 2009-03-23 18:07:33 -07:00
board-h3-mmc.c omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
board-h3.c omap: convert boards to use physmap-flash 2010-02-15 10:03:32 -08:00
board-h3.h ARM: OMAP: No need to include board-h3.h from hardware.h 2009-03-23 18:07:33 -07:00
board-htcherald.c omap1: Add omap7xx USB support 2009-12-11 16:16:34 -08:00
board-innovator.c omap: convert boards to use physmap-flash 2010-02-15 10:03:32 -08:00
board-nokia770.c OMAP: OMAPFB: split omapfb.h 2009-12-09 12:04:06 +02:00
board-osk.c omap: convert boards to use physmap-flash 2010-02-15 10:03:32 -08:00
board-palmte.c omap: convert boards to use physmap-flash 2010-02-15 10:03:32 -08:00
board-palmtt.c omap: convert boards to use physmap-flash 2010-02-15 10:03:32 -08:00
board-palmz71.c omap: convert boards to use physmap-flash 2010-02-15 10:03:32 -08:00
board-perseus2.c omap: convert boards to use physmap-flash 2010-02-15 10:03:32 -08:00
board-sx1-mmc.c omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
board-sx1.c omap: convert boards to use physmap-flash 2010-02-15 10:03:32 -08:00
board-voiceblue.c omap: convert boards to use physmap-flash 2010-02-15 10:03:32 -08:00
clock_data.c OMAP1 clock: convert armwdt_ck to use the fixed divisor recalc function 2010-01-26 20:12:57 -07:00
clock.c OMAP1 clock: convert armwdt_ck to use the fixed divisor recalc function 2010-01-26 20:12:57 -07:00
clock.h OMAP1 clock: convert mach-omap1/clock.h to mach-omap1/clock_data.c 2009-12-11 17:00:40 -07:00
devices.c omap1: Add 7xx clocks and pin muxes for SPI 2010-01-08 10:29:05 -08:00
flash.c omap: convert boards to use physmap-flash 2010-02-15 10:03:32 -08:00
fpga.c omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
i2c.c omap1: I2C mux and clocks for omap7xx 2009-12-11 16:16:34 -08:00
id.c omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
io.c OMAP1 clock: convert mach-omap1/clock.h to mach-omap1/clock_data.c 2009-12-11 17:00:40 -07:00
irq.c omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
Kconfig omap1: Add board support and LCD for HTC Herald 2009-11-22 10:24:33 -08:00
lcd_dma.c omap1: LCD_DMA: Use some define rather than a hexadecimal 2009-12-11 16:16:36 -08:00
leds-h2p2-debug.c omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
leds-innovator.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
leds-osk.c ARM: OMAP: switch to standard gpio get/set calls 2008-12-10 17:35:25 -08:00
leds.c omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
leds.h [PATCH] ARM: 2799/1: OMAP update 4/11: Move OMAP1 LED code into mach-omap1 directory 2005-07-10 19:58:10 +01:00
mailbox.c omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
Makefile omap: convert boards to use physmap-flash 2010-02-15 10:03:32 -08:00
Makefile.boot [PATCH] ARM: 2798/1: OMAP update 2/11: Change ARM Kconfig to support omap1 and omap2 2005-07-10 19:58:08 +01:00
mcbsp.c omap: McBSP: Introduce caching in register write operations 2010-02-15 10:03:33 -08:00
mux.c omap1: Add 7xx clocks and pin muxes for SPI 2010-01-08 10:29:05 -08:00
opp_data.c OMAP1 clock: convert mach-omap1/clock.h to mach-omap1/clock_data.c 2009-12-11 17:00:40 -07:00
opp.h OMAP1 clock: convert mach-omap1/clock.h to mach-omap1/clock_data.c 2009-12-11 17:00:40 -07:00
pm.c omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
pm.h OMAP850: PM: Add an ARCH_OMAP850 check 2009-10-07 23:14:08 +01:00
serial.c omap: Clean the serial port defines 2010-02-15 08:48:53 -08:00
sleep.S OMAP7XX: Rename all the rest of the omap730 references in omap1 core 2009-10-07 23:14:06 +01:00
sram.S OMAP: Remove OMAP_IO_ADDRESS, use OMAP1_IO_ADDRESS and OMAP2_IO_ADDRESS instead 2009-08-28 10:50:33 -07:00
time.c OMAP: Remove OMAP_IO_ADDRESS, use OMAP1_IO_ADDRESS and OMAP2_IO_ADDRESS instead 2009-08-28 10:50:33 -07:00
timer32k.c omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00