Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit afe69c02 authored by Ankit Jain's avatar Ankit Jain
Browse files

dt-bindings: uio: Add msm_sharedmem driver bindings



Add bindings for msm_sharedmem driver. This driver will
allocate the sharedmem region and assign the access
permission to the shared region.

Change-Id: Id60e1cf7afbe25912f82a0e202c2dce98ceddeec
Signed-off-by: default avatarAnkit Jain <jankit@codeaurora.org>
parent 4e67573b
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
msm_sharedmem provides the shared memory addresses for various clients in user-space

Required properties:
- compatible:		Must be "qcom,sharedmem-uio"
- reg : The address and size of the shared memory. The address/sizes may vary.
	A reg address of Zero indicates that the shared memory is dynamically
	allocated using dma_alloc_coherent. A non zero reg address is used
	directly.
- reg-names : Indicates various client-names.
- qcom,client-id : The client id for the QMI clients.

Example:
	qcom,msm_sharedmem@0dc80000 {
		compatible = "qcom,sharedmem-uio";
		reg = <0x0dc80000 0x00180000>,
		reg-names = "rmtfs";
		qcom,client-id = <0x00000001>;
	};