linux/arch/arm/plat-omap/include/plat
Jon Hunter a9e210e0b7 ARM: OMAP2+: UART: Make the RX_TIMEOUT for DMA configurable for each UART
When using DMA there are two timeouts defined. The first timeout,
rx_timeout, is really a polling rate in which software polls the
DMA status to see if the DMA has finished. This is necessary for
the RX side because we do not know how much data we will receive.
The secound timeout, RX_TIMEOUT, is a timeout after which the
DMA will be stopped if no more data is received. To make this
clearer, rename rx_timeout as rx_poll_rate and rename the
function serial_omap_rx_timeout() to serial_omap_rxdma_poll().

The OMAP-Serial driver defines an RX_TIMEOUT of 3 seconds that is
used to indicate when the DMA for UART can be stopped if no more
data is received. The value is a global definition that is applied
to all instances of the UART.

Each UART may be used for a different purpose and so the timeout
required may differ. Make this value configurable for each UART so
that this value can be optimised for power savings.

Signed-off-by: Jon Hunter <jon-hunter@ti.com>
Signed-off-by: Govindraj.R <govindraj.raja@ti.com>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de> (for drivers/tty changes)
Signed-off-by: Kevin Hilman <khilman@ti.com>
2011-12-14 16:05:24 -08:00
..
am33xx.h ARM: OMAP: am33xx: Update common OMAP machine specific sources 2011-12-13 10:46:43 -08:00
blizzard.h omap: Checkpatch cleanup for blizzard.h 2010-03-11 14:50:00 -08:00
board-ams-delta.h
board-sx1.h
board-voiceblue.h
board.h ARM: omap: move omap_get_config et al. to .init.text 2011-02-09 16:36:40 -08:00
clkdev_omap.h OMAP4: clocks: Update the clock tree with 4460 clock nodes 2011-07-08 03:38:48 -07:00
clock.h ARM: OMAP: TI814X: Add cpu type macros and detection support 2011-12-13 10:46:45 -08:00
common.h Merge branch 'for-rmk' of git://git.kernel.org/pub/scm/linux/kernel/git/will/linux into devel-stable 2011-12-05 23:20:17 +00:00
cpu.h ARM: OMAP: TI814X: Add cpu type macros and detection support 2011-12-13 10:46:45 -08:00
dma-44xx.h omap4: Add auto-generated irq and dma headers 2010-02-23 14:02:52 -08:00
dma.h am3505/3517: Various platform defines for UART4 2011-08-10 03:38:07 -07:00
dmtimer.h ARM: OMAP: change get_context_loss_count ret value to int 2011-11-04 17:41:07 -07:00
dsp.h omap: add dsp platform device 2010-10-05 12:05:11 -07:00
flash.h OMAP: fix compilation error 2011-05-31 06:17:01 -07:00
fpga.h arm: omap1: fix compile warnings 2011-01-27 16:39:41 -08:00
gpio-switch.h
gpio.h ARM: gpio: make trivial GPIOLIB implementation the default 2011-08-12 08:54:19 +01:00
gpmc-smc91x.h
gpmc-smsc911x.h arm: omap: gpmc-smsc911x: minor style fixes 2011-05-03 00:38:58 -07:00
gpmc.h Fix common misspellings 2011-03-31 11:26:23 -03:00
hardware.h ARM: OMAP: TI81XX: Prepare for addition of TI814X support 2011-12-13 10:46:44 -08:00
hwa742.h
i2c.h OMAP: hwmod: fix the i2c-reset timeout during bootup 2011-07-10 05:27:16 -06:00
io.h ARM: OMAP: am33xx: Update common OMAP machine specific sources 2011-12-13 10:46:43 -08:00
iommu.h iommu/omap: Migrate to the generic fault report mechanism 2011-09-14 15:36:35 +02:00
iommu2.h omap: iommu: omapify 'struct iommu' and exposed API 2011-08-26 11:46:01 +02:00
iopgtable.h omap: iommu: omapify 'struct iommu' and exposed API 2011-08-26 11:46:01 +02:00
iovmm.h omap: iommu: omapify 'struct iommu' and exposed API 2011-08-26 11:46:01 +02:00
irda.h
irqs-44xx.h omap4: Add auto-generated irq and dma headers 2010-02-23 14:02:52 -08:00
irqs.h Merge branch 'irqchip-consolidation' of git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms into devel-stable 2011-11-21 21:56:56 +00:00
keypad.h Keyboard: omap-keypad: use matrix_keypad.h 2010-12-22 11:11:47 -08:00
l3_2xxx.h OMAP2420: hwmod data: add DSS DISPC RFBI VENC 2011-02-23 09:19:06 +02:00
l3_3xxx.h OMAP3: hwmod data: add DSS DISPC RFBI DSI VENC 2011-02-23 09:19:06 +02:00
l4_2xxx.h OMAP2420: hwmod data: add DSS DISPC RFBI VENC 2011-02-23 09:19:06 +02:00
l4_3xxx.h OMAP3: hwmod data: add DSS DISPC RFBI DSI VENC 2011-02-23 09:19:06 +02:00
lcd_mipid.h
led.h
mailbox.h OMAP: mailbox: add notification support for multiple readers 2010-12-02 05:43:16 -06:00
mcbsp.h ARM: OMAP: mcbsp: Start generalize signal muxing functions 2011-09-26 17:49:07 -07:00
mcspi.h OMAP: devices: Modify McSPI device to adapt to hwmod framework 2011-02-17 09:53:31 -08:00
menelaus.h omap2: Convert ARCH_OMAP24XX to ARCH_OMAP2 2010-02-15 09:27:01 -08:00
mmc.h mmc: omap_hsmmc: if multiblock reads are broken, disable them 2011-10-27 09:11:28 -04:00
multi.h omap: Start using CONFIG_SOC_OMAP 2011-01-27 16:39:40 -08:00
mux.h Merge branch 'devel-misc' into omap-for-linus 2010-08-02 14:23:38 +03:00
nand.h omap: cleanup NAND platform data 2011-06-29 01:11:37 -07:00
omap-pm.h ARM: OMAP: change get_context_loss_count ret value to int 2011-11-04 17:41:07 -07:00
omap-serial.h ARM: OMAP2+: UART: Make the RX_TIMEOUT for DMA configurable for each UART 2011-12-14 16:05:24 -08:00
omap4-keypad.h OMAP4: Keyboard: Mux changes in the board file 2011-07-05 03:38:24 -07:00
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 OMAP2420: CTRL: fix OMAP242X_CTRL_REGADDR macro 2010-10-08 11:40:17 -06:00
omap34xx.h ARM: OMAP: am33xx: Update common OMAP machine specific sources 2011-12-13 10:46:43 -08:00
omap44xx.h arm: omap4: add USBHOST and related base addresses 2010-12-01 02:36:08 +05:30
omap730.h
omap850.h
omap1510.h
omap_device.h ARM: OMAP: change get_context_loss_count ret value to int 2011-11-04 17:41:07 -07:00
omap_hwmod.h ARM: OMAP: change get_context_loss_count ret value to int 2011-11-04 17:41:07 -07:00
onenand.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 into for-linus-1 2011-03-25 17:41:20 +02:00
param.h
prcm.h ARM: OMAP: Allow platforms to hook reset cleanly 2011-01-27 16:39:48 -08:00
sdrc.h OMAP2+: sdrc: fix compile break on OMAP4-only config on current omap-for-linus 2011-02-28 17:53:01 -08:00
serial.h ARM: OMAP2+: UART: Allow UART parameters to be configured from board file. 2011-12-14 16:05:24 -08:00
sram.h ARM: 6649/1: omap: use fncpy to copy the PM code functions to SRAM 2011-02-04 14:26:08 +00:00
system.h ARM: OMAP: Allow platforms to hook reset cleanly 2011-01-27 16:39:48 -08:00
tc.h
ti81xx.h ARM: OMAP: TI81XX: Prepare for addition of TI814X support 2011-12-13 10:46:44 -08:00
timex.h
uncompress.h ARM: OMAP: TI81XX: Prepare for addition of TI814X support 2011-12-13 10:46:44 -08:00
usb.h usb: musb: am35x: fix compile error when building am35x 2011-05-18 13:39:47 +03:00
voltage.h omap: voltage: add a stub header file for external/regulator use 2011-09-15 12:09:22 -07:00
vram.h ARM: OMAP: Convert OMAPFB and VRAM SDRAM reservation to LMB 2010-07-27 08:48:23 +01:00
vrfb.h OMAP: DSS2: OMAPFB: Allow FB_OMAP2 to build without VRFB 2010-10-22 23:21:06 +03:00