android_kernel_xiaomi_sm8350/drivers/serial
Philippe Langlais 235dae5d09 U6715 16550A serial driver support
UART Features extract from STEricsson U6715 data-sheet (arm926 SoC for mobile phone):
* Fully compatible with industry standard 16C550 and 16C450 from various
manufacturers
* RX and TX 64 byte FIFO reduces CPU interrupts
* Full double buffering
* Modem control signals include CTS, RTS, (and DSR, DTR on UART1 only)
* Automatic baud rate selection
* Manual or automatic RTS/CTS smart hardware flow control
* Programmable serial characteristics:
– Baud rate generation (50 to 3.25M baud)
– 5, 6, 7 or 8-bit characters
– Even, odd or no-parity bit generation and detection
– 1, 1.5 or 2 stop bit generation
* Independent control of transmit, receive, line status, data set interrupts and FIFOs
* Full status-reporting capabilities
* Separate DMA signaling for RX and TX
* Timed interrupt to spread receive interrupt on known duration
* DMA time-out interrupt to allow detection of end of reception
* Carkit pulse coding and decoding compliant with USB carkit control interface [40]

In 16550A auto-configuration, if the fifo size is 64 then it's an U6 16550A port
Add set_termios hook & export serial8250_do_set_termios to change uart
clock following baudrate

Signed-off-by: Philippe Langlais <philippe.langlais@stericsson.com>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-08-10 13:47:46 -07:00
..
cpm_uart Merge branch 'master' into for-next 2010-08-04 15:14:38 +02:00
jsm
8250_accent.c
8250_acorn.c
8250_boca.c
8250_early.c serial: MMIO32 support for 8250_early.c 2010-08-10 13:47:45 -07:00
8250_exar_st16c554.c
8250_fourport.c
8250_gsc.c
8250_hp300.c
8250_hub6.c
8250_mca.c
8250_pci.c serial: add support for OX16PCI958 card 2010-08-10 13:47:45 -07:00
8250_pnp.c
8250.c U6715 16550A serial driver support 2010-08-10 13:47:46 -07:00
8250.h
21285.c tty: serial - fix tty back references in termios 2010-08-10 13:47:41 -07:00
68328serial.c serial: 68328serial.c: remove dead (ALMA_ANS | DRAGONIXVZ | M68EZ328ADS) 2010-08-10 13:47:45 -07:00
68328serial.h
68360serial.c tty: release BTM while sleeping in block_til_ready 2010-08-10 13:47:44 -07:00
altera_jtaguart.c serial: Add driver for the Altera JTAG UART 2010-05-21 09:34:30 -07:00
altera_uart.c serial: "altera_uart: simplify altera_uart_console_putc()" checkpatch fixes 2010-08-10 13:47:45 -07:00
amba-pl010.c ARM: Fix section build warnings for AMBA drivers 2010-07-27 10:48:43 +01:00
amba-pl011.c ARM: Fix section build warnings for AMBA drivers 2010-07-27 10:48:43 +01:00
apbuart.c of: Remove duplicate fields from of_platform_driver 2010-05-22 00:10:40 -06:00
apbuart.h
atmel_serial.c serial: general fixes in the serial_rs485 structure 2010-08-10 13:47:45 -07:00
bcm63xx_uart.c
bfin_5xx.c tty: serial - fix tty referencing in set_ldisc 2010-08-10 13:47:41 -07:00
bfin_sport_uart.c serial: bfin_sport_uart: Use resource size to fix off-by-one error 2010-05-21 09:34:30 -07:00
bfin_sport_uart.h serial: bfin_sport_uart: add support for CTS/RTS via GPIOs 2010-05-21 09:34:27 -07:00
clps711x.c
crisv10.c serial: crisv10: formatting of pointers in printk() 2010-08-10 13:47:44 -07:00
crisv10.h
dz.c
dz.h
icom.c
icom.h
imx.c tty: serial - fix tty back references in termios 2010-08-10 13:47:41 -07:00
ioc3_serial.c tty: serial - fix tty back references in termios 2010-08-10 13:47:41 -07:00
ioc4_serial.c tty: serial - fix tty back references in termios 2010-08-10 13:47:41 -07:00
ip22zilog.c
ip22zilog.h
Kconfig hsu: driver for Medfield High Speed UART device 2010-08-10 13:47:46 -07:00
kgdboc.c kgdboc: Add call backs to allow kernel mode switching 2010-08-05 09:22:30 -05:00
m32r_sio_reg.h
m32r_sio.c
m32r_sio.h
Makefile hsu: driver for Medfield High Speed UART device 2010-08-10 13:47:46 -07:00
max3100.c tty: serial - fix tty back references in termios 2010-08-10 13:47:41 -07:00
max3107-aava.c serial: max3107: Abstract out the platform specific bits 2010-08-10 13:47:44 -07:00
max3107.c serial: max3107: Abstract out the platform specific bits 2010-08-10 13:47:44 -07:00
max3107.h serial: max3107: Fix gpiolib support 2010-08-10 13:47:46 -07:00
mcf.c serial: mcf: don't take spinlocks in already protected functions 2010-08-10 13:47:45 -07:00
mfd.c hsu: call PCI pm hooks in suspend/resume function 2010-08-10 13:47:46 -07:00
mpc52xx_uart.c powerpc/5200: improve uart baud rate calculation (reach high baud rates, better accuracy) 2010-07-24 18:27:57 -06:00
mpsc.c
mrst_max3110.c serial: fix wakup races in the mrst_max3110 driver 2010-08-10 13:47:39 -07:00
mrst_max3110.h mrst_max3110: add UART driver for Max3110 on Moorestown 2010-08-10 13:47:39 -07:00
msm_serial.c msm_serial: fix serial on trout 2010-06-04 13:37:16 -07:00
msm_serial.h msm_serial: fix serial on trout 2010-06-04 13:37:16 -07:00
mux.c
netx-serial.c
nwpserial.c fix comnment/printk typos concerning "empty" 2010-07-12 18:03:50 +02:00
of_serial.c of: Remove duplicate fields from of_platform_driver 2010-05-22 00:10:40 -06:00
pmac_zilog.c powerpc/macio: Fix probing of macio devices by using the right of match table 2010-06-02 17:50:38 +10:00
pmac_zilog.h
pnx8xxx_uart.c
pxa.c
s3c24a0.c
s3c2400.c
s3c2410.c
s3c2412.c
s3c2440.c
s3c6400.c
s5pv210.c ARM: S5PV210: serial: Fix section mismatch warning 2010-05-28 19:40:05 +09:00
sa1100.c
samsung.c
samsung.h
sb1250-duart.c
sc26xx.c
serial_core.c tty: untangle locking of wait_until_sent 2010-08-10 13:47:43 -07:00
serial_cs.c pcmcia: do not use io_req_t when calling pcmcia_request_io() 2010-08-03 09:04:11 +02:00
serial_ks8695.c
serial_lh7a40x.c
serial_txx9.c
sh-sci.c sh: fix Oops in the serial SCI driver 2010-05-22 17:06:34 +09:00
sh-sci.h
sn_console.c fix typos concerning "initiali[zs]e" 2010-06-16 18:05:05 +02:00
suncore.c sunserial: Don't call add_preferred_console() when console= is specified. 2010-05-25 23:51:17 -07:00
suncore.h
sunhv.c of/platform: remove all of_bus_type and of_platform_bus_type references 2010-07-24 09:57:52 -06:00
sunsab.c of/platform: remove all of_bus_type and of_platform_bus_type references 2010-07-24 09:57:52 -06:00
sunsab.h
sunsu.c of/platform: remove all of_bus_type and of_platform_bus_type references 2010-07-24 09:57:52 -06:00
sunzilog.c of/platform: remove all of_bus_type and of_platform_bus_type references 2010-07-24 09:57:52 -06:00
sunzilog.h
timbuart.c timbuart: use __devinit and __devexit macros for probe and remove 2010-08-10 13:47:45 -07:00
timbuart.h
uartlite.c of/address: Clean up function declarations 2010-08-01 01:42:42 -06:00
ucc_uart.c of: Remove duplicate fields from of_platform_driver 2010-05-22 00:10:40 -06:00
vr41xx_siu.c
zs.c
zs.h