kernel-fxtec-pro1x/drivers/tty
Teppei Kamijou 0174e5ca82 serial: sh-sci: console runtime PM support (revisit)
The commit 1ba7622094 (serial: sh-sci: console Runtime PM support,
from Magnus Damm <damm@opensource.se>, 2011-08-03), tried to support
console runtime PM, but unfortunately it didn't work for us for some
reason.  We did not investigated further at that time, instead would
like to propose a different approach.

In Linux tty/serial world, to get console PM work properly, a serial
client driver does not have to maintain .runtime_suspend()/..resume()
calls itself, but can leave console power power management handling to
the serial core driver.

This patch moves the sh-sci driver in that direction.

Notes:

* There is room to optimize console runtime PM more aggressively by
  maintaining additional local runtime PM calls, but as a first step
  having .pm() operation would suffice.

* We still have a couple of direct calls to sci_port_enable/..disable
  left in the driver.  We have to live with them, because they're out
  of serial core's help.

Signed-off-by: Teppei Kamijou <teppei.kamijou.yb@renesas.com>
Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi.px@renesas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-11-15 18:02:36 -08:00
..
hvc TTY: call tty_port_destroy in the rest of drivers 2012-11-15 17:20:58 -08:00
ipwireless TTY: call tty_port_destroy in the rest of drivers 2012-11-15 17:20:58 -08:00
serial serial: sh-sci: console runtime PM support (revisit) 2012-11-15 18:02:36 -08:00
vt TTY: call tty_port_destroy in the rest of drivers 2012-11-15 17:20:58 -08:00
amiserial.c TTY: call tty_port_destroy in the rest of drivers 2012-11-15 17:20:58 -08:00
bfin_jtag_comm.c TTY: call tty_port_destroy in the rest of drivers 2012-11-15 17:20:58 -08:00
cyclades.c TTY: call tty_port_destroy in the rest of drivers 2012-11-15 17:20:58 -08:00
ehv_bytechan.c TTY: call tty_port_destroy in the rest of drivers 2012-11-15 17:20:58 -08:00
isicom.c TTY: isicom, fix tty buffers memory leak 2012-11-15 17:20:58 -08:00
Kconfig tty/serial: put (EXPERIMENTAL) marking back on N_GSM and SERIAL_IFX6X60 2012-09-18 17:17:56 +01:00
Makefile
moxa.c TTY: call tty_port_destroy in the rest of drivers 2012-11-15 17:20:58 -08:00
moxa.h
mxser.c TTY: call tty_port_destroy in the rest of drivers 2012-11-15 17:20:58 -08:00
mxser.h
n_gsm.c TTY: n_gsm, use kref from tty_port 2012-11-15 17:20:57 -08:00
n_hdlc.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
n_r3964.c tty: localise the lock 2012-08-10 12:55:47 -07:00
n_tracerouter.c
n_tracesink.c
n_tracesink.h
n_tty.c tty: add missing newlines to WARN_RATELIMIT 2012-10-25 11:30:27 -07:00
nozomi.c TTY: call tty_port_destroy in the rest of drivers 2012-11-15 17:20:58 -08:00
pty.c TTY: pty, fix tty buffers leak 2012-11-15 17:18:55 -08:00
rocket.c TTY: call tty_port_destroy in the rest of drivers 2012-11-15 17:20:58 -08:00
rocket.h
rocket_int.h
synclink.c TTY: call tty_port_destroy in the rest of drivers 2012-11-15 17:20:58 -08:00
synclink_gt.c TTY: call tty_port_destroy in the rest of drivers 2012-11-15 17:20:58 -08:00
synclinkmp.c TTY: call tty_port_destroy in the rest of drivers 2012-11-15 17:20:58 -08:00
sysrq.c mm, oom: ensure sysrq+f always passes valid zonelist 2012-11-15 17:13:48 -08:00
tty_audit.c TTY: audit, stop accessing tty->icount 2012-10-22 16:50:54 -07:00
tty_buffer.c tty: add missing newlines to WARN_RATELIMIT 2012-10-25 11:30:27 -07:00
tty_io.c tty: Add get- ioctls to fetch tty status v3 2012-10-25 12:07:18 -07:00
tty_ioctl.c tty: pty - Move TIOCPKT handling into pty.c 2012-10-25 12:07:18 -07:00
tty_ldisc.c tty: Use raw spin lock to protect TTY ldisc administration 2012-10-24 11:37:02 -07:00
tty_mutex.c tty: tty_mutex.c: Fixed coding style warning (using printk) 2012-10-24 11:34:51 -07:00
tty_port.c TTY: introduce tty_port_destroy 2012-11-15 17:20:58 -08:00