Skip to content

Commit 73210a1

Browse files
Niranjana Vishwanathapuratorvalds
authored andcommitted
drivers/char: add MSM smd_pkt driver
Add smd_pkt driver which provides device interface to smd packet ports. Signed-off-by: Niranjana Vishwanathapura <nvishwan@codeaurora.org> Cc: Brian Swetland <swetland@google.com> Cc: Greg KH <gregkh@suse.de> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Cc: David Brown <davidb@codeaurora.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 0dcf334 commit 73210a1

3 files changed

Lines changed: 475 additions & 0 deletions

File tree

‎drivers/char/Kconfig‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -608,5 +608,13 @@ config RAMOOPS
608608
This enables panic and oops messages to be logged to a circular
609609
buffer in RAM where it can be read back at some later point.
610610

611+
config MSM_SMD_PKT
612+
bool "Enable device interface for some SMD packet ports"
613+
default n
614+
depends on MSM_SMD
615+
help
616+
Enables userspace clients to read and write to some packet SMD
617+
ports via device interface for MSM chipset.
618+
611619
endmenu
612620

‎drivers/char/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ obj-$(CONFIG_ATARI_DSP56K) += dsp56k.o
99
obj-$(CONFIG_VIRTIO_CONSOLE) += virtio_console.o
1010
obj-$(CONFIG_RAW_DRIVER) += raw.o
1111
obj-$(CONFIG_SGI_SNSC) += snsc.o snsc_event.o
12+
obj-$(CONFIG_MSM_SMD_PKT) += msm_smd_pkt.o
1213
obj-$(CONFIG_MSPEC) += mspec.o
1314
obj-$(CONFIG_MMTIMER) += mmtimer.o
1415
obj-$(CONFIG_UV_MMTIMER) += uv_mmtimer.o

0 commit comments

Comments
 (0)