Skip to contentSkip to conversation

tty: Add msm_smd_tty driver

PATCH In review Niranjana Vishwanathapura 2 participants 2 messages Feb 9, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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.

---
 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
index b1682d7..33cbc89 100644
@@ -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
index 8ea92e9..0c6aefb 100644
@@ -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.