soc: qcom: Introduce QMI helpers
authorBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 5 Dec 2017 17:43:07 +0000 (09:43 -0800)
committerAndy Gross <andy.gross@linaro.org>
Wed, 20 Dec 2017 21:38:34 +0000 (15:38 -0600)
commit3830d0771ef66a3bb9ab57b70630b3598593a4f0
treec1030100f3dfb2487b3f213e65e449b58f259cfd
parent9b8a11e82615274d4133aab3cf5aa1c59191f0a2
soc: qcom: Introduce QMI helpers

Drivers that needs to communicate with a remote QMI service all has to
perform the operations of discovering the service, encoding and decoding
the messages and operate the socket. This introduces an abstraction for
these common operations, reducing most of the duplication in such cases.

Acked-by: Chris Lew <clew@codeaurora.org>
Tested-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
drivers/soc/qcom/Makefile
drivers/soc/qcom/qmi_interface.c [new file with mode: 0644]
include/linux/soc/qcom/qmi.h