msm: smd: Add smd_pkt driver
Subsystems (2)
PATCH 1/1 msm: smd: Add smd_pkt driver
Add smd_pkt driver which provides device interface to smd packet ports.
--- drivers/char/Kconfig | 8 + drivers/char/Makefile | 2 + drivers/char/msm_smd_pkt.c | 466 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 476 insertions(+), 0 deletions(-) create mode 100644 drivers/char/msm_smd_pkt.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_PKT + bool "Enable device interface for some SMD packet ports" + default n + depends on MSM_SMD + help + Enables userspace clients to read and write to some packet SMD + ports via 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_PKT) += msm_smd_pkt.o
drivers/char/msm_smd_pkt.c new file +466 -0
466 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.
PATCH 1/1 msm: smd: Add smd_pkt driver
Quoted 10 lines · Niranjana Vishwanathapura
Add
smd_pktdriver which provides device interface to smd packet ports.Signed-off-by Niranjana Vishwanathapura <[email protected]>--- drivers/char/Kconfig | 8 + drivers/char/Makefile | 2 + drivers/char/msm_smd_pkt.c | 466 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 476 insertions(+), 0 deletions(-) create mode 100644 drivers/char/msm_smd_pkt.c
Andrew, what's the proper destination for this change? Should this go into your tree? Is there anything you want me to do with this change?
Thanks,
David
Signature · 2 lines
Sent by an employee of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
Quoted 13 lines · On Tue, 25 Jan 2011 11:20:51 -0800 David Brown <[email protected]> wrote:
Quoted 10 lines · Niranjana Vishwanathapura
Add
smd_pktdriver which provides device interface to smd packet ports.Signed-off-by Niranjana Vishwanathapura <[email protected]>--- drivers/char/Kconfig | 8 + drivers/char/Makefile | 2 + drivers/char/msm_smd_pkt.c | 466 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 476 insertions(+), 0 deletions(-) create mode 100644 drivers/char/msm_smd_pkt.c
Quoted 3 lines
Andrew, what's the proper destination for this change? Should this go into your tree? Is there anything you want me to do with this change?
Looks OK, I grabbed it.
I read the entire email trying to work out what an "SMD" is. Failed. Oh well.
Quoted 5 lines · Andrew Morton
Quoted 2 lines · On Tue, 25 Jan 2011 11:20:51 -0800 David Brown <[email protected]> wrote:
On Wed, Dec 15 2010, Niranjana Vishwanathapura wrote:
Quoted 7 lines
Quoted 2 lines
Quoted 2 lines
Add
smd_pktdriver which provides device interface to smd packet ports.Looks OK, I grabbed it.
I read the entire email trying to work out what an "SMD" is. Failed. Oh well.
Looks like it's time for me to send another round of the "people outside our company probably don't know what our acronyms stand for" email.
Thanks,
David
Signature · 2 lines
Sent by an employee of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
Quoted 16 lines · Andrew Morton
Quoted 13 lines · On Tue, 25 Jan 2011 11:20:51 -0800 David Brown <[email protected]> wrote:
Quoted 10 lines · Niranjana Vishwanathapura
Add
smd_pktdriver which provides device interface to smd packet ports.Signed-off-by Niranjana Vishwanathapura <[email protected]>--- drivers/char/Kconfig | 8 + drivers/char/Makefile | 2 + drivers/char/msm_smd_pkt.c | 466 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 476 insertions(+), 0 deletions(-) create mode 100644 drivers/char/msm_smd_pkt.c
Quoted 8 lines
Quoted 3 lines
Andrew, what's the proper destination for this change? Should this go into your tree? Is there anything you want me to do with this change?
Looks OK, I grabbed it.
I read the entire email trying to work out what an "SMD" is. Failed. Oh well.
+ bool "MSM Shared Memory Driver (SMD)"
+ help
+ Support for the shared memory interface between the apps + processor and the baseband processor. Provides access to + the "shared heap", as well as virtual serial channels + used to communicate with various services on the baseband + processor.
It's an an interface from the cpu running Linux, and the other processor that co-exists with the one running Linux. They need to communicate for certain reasons .. I _think_ something like sending a text message is sent by communicating over this interface, or getting the phone to dial a number, along with many other things.
Thats my take on it anyway.
Daniel
Signature · 2 lines
Sent by a consultant of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.