mirror of
https://github.com/linux-msm/laptops-kernel.git
synced 2026-08-13 14:19:53 -07:00
samples: Introduce Qualcomm QMI sample client
Introduce a sample driver that register for server notifications and spawn clients for each available test service (service 15). The spawned clients implements the interface for encoding "ping" and "data" requests and decode the responses from the remote. Acked-By: Chris Lew <clew@codeaurora.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
This commit is contained in:
@@ -62,6 +62,15 @@ config SAMPLE_KDB
|
||||
Build an example of how to dynamically add the hello
|
||||
command to the kdb shell.
|
||||
|
||||
config SAMPLE_QMI_CLIENT
|
||||
tristate "Build qmi client sample -- loadable modules only"
|
||||
depends on m
|
||||
depends on ARCH_QCOM
|
||||
select QCOM_QMI_HELPERS
|
||||
help
|
||||
Build an QMI client sample driver, which demonstrates how to
|
||||
communicate with a remote QRTR service, using QMI encoded messages.
|
||||
|
||||
config SAMPLE_RPMSG_CLIENT
|
||||
tristate "Build rpmsg client sample -- loadable modules only"
|
||||
depends on RPMSG && m
|
||||
|
||||
+1
-1
@@ -3,4 +3,4 @@
|
||||
obj-$(CONFIG_SAMPLES) += kobject/ kprobes/ trace_events/ livepatch/ \
|
||||
hw_breakpoint/ kfifo/ kdb/ hidraw/ rpmsg/ seccomp/ \
|
||||
configfs/ connector/ v4l/ trace_printk/ blackfin/ \
|
||||
vfio-mdev/ statx/
|
||||
vfio-mdev/ statx/ qmi/
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
obj-$(CONFIG_SAMPLE_QMI_CLIENT) += qmi_sample_client.o
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user