OSDN Git Service

serial: msm_serial_hs: Add MSM high speed UART driver
authorMayank Rana <mrana@codeaurora.org>
Mon, 7 Mar 2011 04:58:42 +0000 (10:28 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 7 Mar 2011 20:08:05 +0000 (12:08 -0800)
commit550462378515a82279e07f12e2c105f617f112f8
treec3a98269a5d61da1530d0c9e9fe56b4b9af28868
parent00bff392c81e4fb1901e5160fdd5afdb2546a6ab
serial: msm_serial_hs: Add MSM high speed UART driver

This driver supports UART-DM HW on MSM platforms. It uses the on
chip DMA to drive data transfers and has optional support for UART
power management independent of Linux suspend/resume and wakeup
from Rx.

The driver was originally developed by Google. It is functionally
equivalent to the version available at:
http://android.git.kernel.org/?p=kernel/experimental.git
the differences being:
1) Remove wakelocks and change unsupported DMA API.
2) Replace clock selection register codes by macros.
3) Fix checkpatch errors and add inline documentation.
4) Add runtime PM hooks for active power state transitions.
5) Handle error path and cleanup resources if required.

CC: Nick Pelly <npelly@google.com>
Signed-off-by: Sankalp Bose <sankalpb@codeaurora.org>
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/tty/serial/Kconfig
drivers/tty/serial/Makefile
drivers/tty/serial/msm_serial_hs.c [new file with mode: 0644]
include/linux/platform_data/msm_serial_hs.h [new file with mode: 0644]