linux/arch/arm/plat-samsung/include/plat
Ben Dooks 10aebc772a USB: s3c-hsotg: Add initial detection and setup for dedicated FIFO mode
Add support for the dedicated FIFO mode on newer SoCs such as the S5PV210
partly to improve support and to fix the bug where any non-EP0 IN endpoint
requires its own FIFO allocation.

To fix this, we ensure that any non-zero IN endpoint is given a TXFIFO
using the same allocation method as the periodic case (all our current
hardware has enough FIFOs and FIFO memory for a 1:1 mapping) and ensure
that the necessary transmission done interrupt is enabled.

The default settings from reset for the core point all EPs at FIFO0,
used for the control endpoint. However, the controller documentation
states that all IN endpoints _must_ have a unique FIFO to avoid any
contention during transmission.

Note, this leaves us with a large IN FIFO for EP0 (which re-uses the
old NPTXFIFO) for an endpoint which cannot shift more than a pair of
packets at a time... this is a waste, but it looks like we cannot
re-allocate space to the individual IN FIFOs as they are already
maxed out (to be confirmed).

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-08-10 14:35:42 -07:00
..
adc.h
audio.h
clock-clksrc.h
clock.h ARM: Merge for-2635/fb-updates1 2010-05-19 18:04:11 +09:00
cpu-freq.h
cpu.h ARM: Merge for-2635/fb-updates1 2010-05-19 18:04:11 +09:00
debug-macro.S
devs.h ARM: Merge for-2635-4/onenand 2010-05-20 20:25:59 +09:00
dma-core.h
dma-s3c24xx.h
dma.h S3C: DMA: Change argument of s3c2410_dma_devconfig 2010-05-17 16:43:49 +09:00
fb.h ARM: S5PV210: add framebuffer platform helpers for s5pv210 based machines 2010-05-20 18:14:52 +09:00
gpio-cfg-helpers.h ARM: S3C24XX: Remove s3c2410_gpio_getcfg(), implement s3c_gpio_getcfg() 2010-05-06 10:50:42 +09:00
gpio-cfg.h ARM: SAMSUNG: gpio-cfg.h: update documentation 2010-05-28 19:31:32 +09:00
gpio-core.h Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2010-05-20 09:20:59 -07:00
hwmon.h ARM: SAMSUNG: Move HWMON from plat-s3c24xx to plat-samsung 2010-05-12 17:43:03 +09:00
iic-core.h ARM: S5PV210: add common I2C device helpers 2010-05-20 18:21:34 +09:00
iic.h ARM: S5PV210: add common I2C device helpers 2010-05-20 18:21:34 +09:00
irq-uart.h
irq-vic-timer.h
keypad.h Input: samsung-keypad - Add samsung keypad driver 2010-07-21 00:49:06 -07:00
map-base.h
nand.h
onenand-core.h ARM: SAMSUNG: Add platform support code for OneNAND controller 2010-05-20 17:48:36 +09:00
pll6553x.h ARM: SAMSUNG: Move S3C6400 PLL code to <plat/pll.h> for re-use 2010-05-10 11:44:37 +09:00
pm.h
regs-ac97.h
regs-adc.h
regs-fb-v4.h
regs-fb.h
regs-iic.h
regs-irqtype.h
regs-nand.h
regs-onenand.h ARM: SAMSUNG: Add platform support code for OneNAND controller 2010-05-20 17:48:36 +09:00
regs-rtc.h s3c rtc driver: add support for S3C64xx 2010-05-25 08:07:07 -07:00
regs-sdhci.h
regs-serial.h
regs-timer.h
regs-usb-hsotg-phy.h
regs-usb-hsotg.h USB: s3c-hsotg: Add initial detection and setup for dedicated FIFO mode 2010-08-10 14:35:42 -07:00
regs-watchdog.h
s3c64xx-spi.h ARM: S5P6440: Define SPI platform devices 2010-05-20 19:37:23 +09:00
s3c-dma-pl330.h S3C: DMA: Add api driver for PL330 2010-05-18 18:00:12 +09:00
s3c-pl330-pdata.h S3C: DMA: Add api driver for PL330 2010-05-18 18:00:12 +09:00
sdhci.h ARM: SAMSUNG: Fix on wrong function name for S5PV210 sdhci0 2010-07-05 16:01:04 +09:00
ts.h ARM: SAMSUNG: Implements cfg_gpio function for Samsung touchscreen 2010-05-19 18:25:22 +09:00
udc-hs.h
uncompress.h ARM: SAMSUNG: Fix build error from stale define in <plat/uncompress.h> 2010-03-15 22:57:18 +00:00
usb-control.h
wakeup-mask.h ARM: SAMSUNG: Add support for interrupt wakeup-sources 2010-05-20 21:07:01 +09:00
watchdog-reset.h