tty: Add msm_smd_tty driver
Subsystems (2)
PATCH v2 1/1 tty: Add msm_smd_tty driver
msm_smd_tty driver provides tty device interface
to 'DS' and 'GPSNMEA' streaming SMD ports.
Cc Brian Swetland <[email protected]>
Signed-off-by Niranjana Vishwanathapura <[email protected]>
--- drivers/tty/serial/Kconfig | 9 ++ drivers/tty/serial/Makefile | 1 + drivers/tty/serial/msm_smd_tty.c | 236 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 246 insertions(+), 0 deletions(-) create mode 100644 drivers/tty/serial/msm_smd_tty.c
drivers/tty/serial/Kconfig +9 -0
@@ -1595,4 +1595,13 @@ config SERIAL_PCH_UART This driver is for PCH(Platform controller Hub) UART of Intel EG20T which is an IOH(Input/Output Hub) for x86 embedded processor. Enabling PCH_DMA, this PCH UART works as DMA mode. + +config SERIAL_MSM_SMD + bool "Enable tty device interface for some SMD ports" + default n + depends on MSM_SMD + help + Enables userspace clients to read and write to some streaming SMD + ports via tty device interface for MSM chipset. + endmenu
drivers/tty/serial/Makefile +1 -0
@@ -92,3 +92,4 @@ obj-$(CONFIG_SERIAL_MRST_MAX3110) += mrst_max3110.o obj-$(CONFIG_SERIAL_MFD_HSU) += mfd.o obj-$(CONFIG_SERIAL_IFX6X60) += ifx6x60.o obj-$(CONFIG_SERIAL_PCH_UART) += pch_uart.o +obj-$(CONFIG_SERIAL_MSM_SMD) += msm_smd_tty.o
drivers/tty/serial/msm_smd_tty.c new file +236 -0
236 lines not on this page · raw message
Signature · 4 lines
1.5.6.3 Sent by an employee of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
Quoted 5 lines · On Wed, 9 Feb 2011 11:16:34 -0800 Niranjana Vishwanathapura…
msm_smd_ttydriver provides tty device interface
to 'DS' and 'GPSNMEA' streaming SMD ports.Cc Brian Swetland <[email protected]>Signed-off-by Niranjana Vishwanathapura <[email protected]>
Acked-by Alan Cox <[email protected]>
Thanks for reworking it for the current refcount/port stuff
Alan