msm: smd: Add smd_tty driver
Subsystems (2)
PATCH 1/1 msm: smd: Add smd_tty driver
Add smd_tty driver which provides tty device interface to 'DS' and 'GPSNMEA' streaming SMD ports.
Cc Brian Swetland <[email protected]>
Signed-off-by Niranjana Vishwanathapura <[email protected]>
--- drivers/char/Kconfig | 8 ++ drivers/char/Makefile | 2 + drivers/char/msm_smd_tty.c | 226 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 236 insertions(+), 0 deletions(-) create mode 100644 drivers/char/msm_smd_tty.c
drivers/char/Kconfig +8 -0
@@ -1144,5 +1144,13 @@ config RAMOOPS This enables panic and oops messages to be logged to a circular buffer in RAM where it can be read back at some later point. +config MSM_SMD_TTY + 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/char/Makefile +2 -0
@@ -98,3 +98,5 @@ obj-$(CONFIG_RAMOOPS) += ramoops.o obj-$(CONFIG_JS_RTC) += js-rtc.o js-rtc-y = rtc.o + +obj-$(CONFIG_MSM_SMD_TTY) += msm_smd_tty.o
drivers/char/msm_smd_tty.c new file +226 -0
226 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.