android_kernel_google_msm/drivers/tty
Mayank Rana 909c192f79 msm_serial_hs: Don't configure gpios into UART Mode always
UARTDM device is used as interface to connect external devices through
GPIOs. Currently those GPIOs are configured in active mode once driver's
probe() is called and configured in suspend mode once its remove() is
called. Probe() is called once only and remove is not called until UARTDM
platform device is removed. With this current implementation, although
external device (ex. Bluetooth SoC) is not operational mode, used UARTDM
GPIOs are configured in active mode which is causing more leakage current
and more power consumption.

Hence configure those UARTDM GPIOs in active mode only when used UARTDM
device is opened and under used. Configure UARTDM GPIOs back to suspend
mode when UARTDM device is closed and under not used.

CRs-Fixed: 422217

Change-Id: I057a2da827f37687e5ea69bdca1533568be06eab
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
Signed-off-by: Neha Pandey <nehap@codeaurora.org>
2013-03-07 15:24:21 -08:00
..
hvc tty: hvc_dcc: Remove redundant license clause 2013-02-25 11:32:51 -08:00
ipwireless
serial msm_serial_hs: Don't configure gpios into UART Mode always 2013-03-07 15:24:21 -08:00
vt vt: fix race in vt_waitactive() 2013-03-04 12:47:24 -08:00
amiserial.c
bfin_jtag_comm.c
cyclades.c
ehv_bytechan.c
isicom.c
Kconfig n_smux: smux_ctl: Userspace character device interface for SMUX 2013-02-25 11:32:36 -08:00
Makefile n_smux: smux_ctl: Userspace character device interface for SMUX 2013-02-25 11:32:36 -08:00
moxa.c
moxa.h
mxser.c
mxser.h
n_gsm.c
n_hdlc.c
n_r3964.c
n_smux.c tty: n_smux: Fix packet close synchronization issue 2013-03-07 15:19:53 -08:00
n_tracerouter.c
n_tracesink.c
n_tracesink.h
n_tty.c
nozomi.c
pty.c
rocket.c
rocket.h
rocket_int.h
smux_ctl.c tty: smux_ctl: Do not set POLLERR if signal received. 2013-03-07 15:19:16 -08:00
smux_loopback.c tty: n_smux: Add support for broadcast logical channel ID 2013-02-27 18:11:27 -08:00
smux_loopback.h
smux_private.h tty: n_smux: Adjust receive retry queue parameters 2013-03-07 15:19:13 -08:00
smux_test.c tty: n_smux: Fix workqueue flush deadlock and local mode reset 2013-02-27 18:15:17 -08:00
synclink.c
synclink_gt.c
synclinkmp.c
sysrq.c
tty_audit.c
tty_buffer.c Revert "msm: tty: update receive room just before writing data to the ldisc" 2013-03-04 12:44:26 -08:00
tty_io.c
tty_ioctl.c
tty_ldisc.c
tty_mutex.c
tty_port.c