forked from Minki/linux
c8c99699bd
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> |
||
---|---|---|
.. | ||
blizzard.h | ||
board-ams-delta.h | ||
board-sx1.h | ||
board-voiceblue.h | ||
board.h | ||
clkdev_omap.h | ||
clkdev.h | ||
clock.h | ||
clockdomain.h | ||
common.h | ||
control.h | ||
cpu.h | ||
display.h | ||
dma.h | ||
dmtimer.h | ||
dsp_common.h | ||
flash.h | ||
fpga.h | ||
gpio-switch.h | ||
gpio.h | ||
gpmc-smc91x.h | ||
gpmc.h | ||
hardware.h | ||
hwa742.h | ||
i2c.h | ||
io.h | ||
iommu2.h | ||
iommu.h | ||
iovmm.h | ||
irda.h | ||
irqs.h | ||
keypad.h | ||
lcd_mipid.h | ||
led.h | ||
mailbox.h | ||
mcbsp.h | ||
mcspi.h | ||
memory.h | ||
menelaus.h | ||
mmc.h | ||
multi.h | ||
mux.h | ||
nand.h | ||
omap7xx.h | ||
omap16xx.h | ||
omap24xx.h | ||
omap34xx.h | ||
omap44xx.h | ||
omap730.h | ||
omap850.h | ||
omap1510.h | ||
omap_device.h | ||
omap_hwmod.h | ||
omap-alsa.h | ||
omap-pm.h | ||
onenand.h | ||
param.h | ||
powerdomain.h | ||
prcm.h | ||
sdrc.h | ||
serial.h | ||
smp.h | ||
sram.h | ||
system.h | ||
tc.h | ||
timer-gp.h | ||
timex.h | ||
uncompress.h | ||
usb.h | ||
vram.h | ||
vrfb.h |