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

Commit 01e9a9ed authored by Ankit Jain's avatar Ankit Jain
Browse files

dt-bindings: uio: msm_sharedmem: Add DT binding entry for guard-memory



Add DT binding entry guard-memory to add the guard area by SZ_4K at the
start and at the end of the shared mem region.

Change-Id: If86b8bdf68abea5e6fd3761aa6bbadfe4e8ea874
Signed-off-by: default avatarAnkit Jain <jankit@codeaurora.org>
parent 73b51c6a
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -9,10 +9,18 @@ Required properties:
- reg-names : Indicates various client-names.
- qcom,client-id : The client id for the QMI clients.

Optional properties:
- qcom,guard-memory:	If this dtsi property is set, then the shared memory
			region will be guarded by SZ_4K at the start and at the end.
			This is needed to overcome the XPU limitation on some MSM HW,
			so as to make this memory not contiguous with other allocations
			that may possibly happen from other clients.

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