linux/drivers/tty/serial
Eduardo Valentin c868cbb7e5 serial: imx: save and restore context in the suspend path
This change teaches the imx serial driver to save its
context and restore it across suspend and resume path.
To do so, it introduces serial_imx_restore_context()
and serial_imx_save_context() functions. They use
a shadow set of registers to save key registers
and restore them accordingly. These functions can
be reused on other situations, when the device
context is lost.

Cc: Fabio Estevam <festevam@gmail.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jiri Slaby <jslaby@suse.com>
Cc: linux-serial@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-08-14 17:23:25 -07:00
..
8250 serial: 8250: move rx_running out of the bitfield 2015-08-14 17:19:50 -07:00
cpm_uart
jsm
21285.c
68328serial.c
altera_jtaguart.c
altera_uart.c
amba-pl010.c
amba-pl011.c uart: pl011: Add support to ZTE ZX296702 uart 2015-08-04 22:07:26 -07:00
apbuart.c
apbuart.h
ar933x_uart.c
arc_uart.c
atmel_serial.c tty/serial: at91: fix I/O accesses on RHR and THR for AVR32 2015-08-04 22:07:22 -07:00
bcm63xx_uart.c
bfin_sport_uart.c
bfin_sport_uart.h
bfin_uart.c
clps711x.c
crisv10.c
crisv10.h
digicolor-usart.c
dz.c
dz.h
earlycon-arm-semihost.c
earlycon.c serial: earlycon: Add support for big-endian MMIO accesses 2015-06-01 06:55:12 +09:00
efm32-uart.c
etraxfs-uart.c serial: etraxfs-uart: use mctrl_gpio helpers for handling modem signals 2015-08-04 22:07:20 -07:00
fsl_lpuart.c
icom.c
icom.h
ifx6x60.c
ifx6x60.h
imx.c serial: imx: save and restore context in the suspend path 2015-08-14 17:23:25 -07:00
ioc3_serial.c
ioc4_serial.c
ip22zilog.c
ip22zilog.h
Kconfig uart: pl011: Add support to ZTE ZX296702 uart 2015-08-04 22:07:26 -07:00
kgdb_nmi.c
kgdboc.c
lantiq.c drivers/tty: make serial/lantic.c driver explicitly non-modular 2015-07-23 18:27:41 -07:00
lpc32xx_hs.c
m32r_sio.c
m32r_sio.h
m32r_sio_reg.h
Makefile serial: stm32-usart: Add STM32 USART Driver 2015-06-10 17:34:26 -07:00
max310x.c
max3100.c
mcf.c
men_z135_uart.c tty: serial: men_z135_uart.c: Don't initialize port->lock 2015-08-14 17:14:13 -07:00
meson_uart.c
mpc52xx_uart.c serial: mpc52xx: let tx_empty callback return either 0 or TIOCSER_TEMT 2015-08-04 22:07:20 -07:00
mpsc.c
msm_serial.c
msm_serial.h
mux.c
mxs-auart.c serial: mxs-auart: fix baud rate range 2015-08-14 17:08:48 -07:00
netx-serial.c
nwpserial.c
of_serial.c serial: of_serial: check the return value of clk_prepare_enable() 2015-06-01 06:55:12 +09:00
omap-serial.c serial: omap: Switch wake-up interrupt to generic wakeirq 2015-06-09 23:35:00 -07:00
pch_uart.c
pmac_zilog.c
pmac_zilog.h
pnx8xxx_uart.c
pxa.c
rp2.c
sa1100.c
samsung.c serial: samsung: fix DMA for FIFO smaller than cache line size 2015-08-04 22:07:24 -07:00
samsung.h serial: samsung: fix DMA mode enter condition for small FIFO sizes 2015-08-04 22:07:23 -07:00
sb1250-duart.c
sc16is7xx.c sc16is7xx: constify devtype 2015-08-04 22:07:27 -07:00
sccnxp.c
serial-tegra.c serial: tegra: Fix memory leak on DMA setup failure 2015-05-24 12:53:44 -07:00
serial_core.c serial: core: Remove tty port activate() and shutdown() methods 2015-08-04 22:07:23 -07:00
serial_ks8695.c tty/serial: kill off set_irq_flags usage 2015-06-09 12:26:32 -07:00
serial_mctrl_gpio.c TTY/Serial driver patches for 4.2-rc1 2015-06-26 15:53:22 -07:00
serial_mctrl_gpio.h
serial_txx9.c
sh-sci.c TTY/Serial driver patches for 4.2-rc1 2015-06-26 15:53:22 -07:00
sh-sci.h
sirfsoc_uart.c serial: sirf: let uart's receive start in right place 2015-07-23 15:32:04 -07:00
sirfsoc_uart.h serial: sirf: let uart's receive start in right place 2015-07-23 15:32:04 -07:00
sn_console.c drivers/tty: make serial/sn_console.c driver explicitly non-modular 2015-07-23 18:27:41 -07:00
sprd_serial.c serial: sprd: check for NULL after calling devm_clk_get 2015-06-12 17:39:50 -07:00
st-asc.c
stm32-usart.c serial: stm32-usart: Fix SysRq support 2015-07-23 17:37:53 -07:00
suncore.c drivers/tty: make serial/suncore.c driver explicitly non-modular 2015-07-23 18:27:41 -07:00
sunhv.c drivers/tty: make serial/sunhv.c driver explicitly non-modular 2015-07-23 18:27:41 -07:00
sunsab.c
sunsab.h
sunsu.c
sunzilog.c
sunzilog.h
tilegx.c
timbuart.c
timbuart.h
uartlite.c
ucc_uart.c serial/uuc_uart: Support higher bitrates than 115200 Bit/s 2015-07-23 18:05:00 -07:00
vr41xx_siu.c
vt8500_serial.c
xilinx_uartps.c
zs.c
zs.h