rpmsg: Introduce __rpmsg{16|32|64} types
authorMathieu Poirier <mathieu.poirier@linaro.org>
Fri, 20 Nov 2020 21:42:38 +0000 (14:42 -0700)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 24 Nov 2020 16:10:59 +0000 (10:10 -0600)
commit6bef038011a023db41f1b33f0776224729d52344
treeede449c07bc07854db7eadf5e446bb44f35edbcd
parent3650b228f83adda7e5ee532e2b90429c03f7b9ec
rpmsg: Introduce __rpmsg{16|32|64} types

Introduce __rpmsg{16|32|64} types along with byte order conversion
functions based on an rpmsg_device operation as a foundation to
make RPMSG modular and transport agnostic.

Tested-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Suggested-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Reviewed-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Link: https://lore.kernel.org/r/20201120214245.172963-2-mathieu.poirier@linaro.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
include/linux/rpmsg.h
include/linux/rpmsg/byteorder.h [new file with mode: 0644]
include/uapi/linux/rpmsg_types.h [new file with mode: 0644]