1 Content-Type: text/plain; charset="utf-8"
3 Content-Transfer-Encoding: 7bit
4 Subject: [v2,1/2] soc: qcom: Add device tree binding for SMEM
5 From: Bjorn Andersson <bjorn.andersson@sonymobile.com>
6 X-Patchwork-Id: 6202201
7 Message-Id: <1428795178-24312-1-git-send-email-bjorn.andersson@sonymobile.com>
8 To: Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>,
9 Mark Rutland <mark.rutland@arm.com>,
10 Ian Campbell <ijc+devicetree@hellion.org.uk>,
11 Kumar Gala <galak@codeaurora.org>, Jeffrey Hugo <jhugo@codeaurora.org>,
12 Andry Gross <agross@codeaurora.org>
13 Cc: <devicetree@vger.kernel.org>,
14 linux-arm-msm <linux-arm-msm@vger.kernel.org>,
15 <linux-kernel@vger.kernel.org>
16 Date: Sat, 11 Apr 2015 16:32:57 -0700
18 Add device tree binding documentation for the Qualcom Shared Memory
21 Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
27 .../devicetree/bindings/soc/qcom/qcom,smem.txt | 49 ++++++++++++++++++++++
28 1 file changed, 49 insertions(+)
29 create mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom,smem.txt
32 +++ b/Documentation/devicetree/bindings/soc/qcom/qcom,smem.txt
34 +Qualcomm Shared Memory binding
36 +This binding describes the Qualcomm Shared Memory, used to share data between
37 +various subsystems and OSes in Qualcomm platforms.
41 + Value type: <stringlist>
42 + Definition: must be:
47 + Value type: <prop-encoded-array>
48 + Definition: handle to memory reservation for main smem memory region.
52 + Value type: <prop-encoded-array>
53 + Definition: base address and size pair for any additional memory areas
54 + of the shared memory.
58 + Value type: <prop-encoded-array>
59 + Definition: reference to a hwspinlock used to protect allocations from
65 + #address-cells = <1>;
69 + smem_region: smem@fa00000 {
70 + reg = <0xfa00000 0x200000>;
76 + compatible = "qcom,smem";
78 + memory-region = <&smem_region>;
79 + reg = <0xfc428000 0x4000>;
81 + hwlocks = <&tcsr_mutex 3>;