# Qualcomm Shared Memory Driver

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Soc bindings / qcom_

> Device-tree binding reference for Qualcomm Shared Memory Driver.

<!-- SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -->


<a id="dt-root"></a>

**Schema identifier (<code>&#36;id</code>):** <span id="dt-09f478f44eb202ea573e"><code>&#34;http&#58;&#47;&#47;devicetree&#46;org&#47;schemas&#47;soc&#47;qcom&#47;qcom&#44;smd&#46;yaml&#35;&#34;</code></span>

**Schema dialect (<code>&#36;schema</code>):** <span id="dt-dcb375baab6014763a68"><code>&#34;http&#58;&#47;&#47;devicetree&#46;org&#47;meta&#45;schemas&#47;core&#46;yaml&#35;&#34;</code></span>

<a id="dt-e46b5a5dd81dbd751c9f"></a>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Andy Gross &#60;agross&#64;kernel&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Bjorn Andersson &#60;bjorn&#46;andersson&#64;linaro&#46;org&#62;&#34;</code></span>, <span id="dt-2f1516674166ff6e66b8"><code>&#34;Krzysztof Kozlowski &#60;krzk&#64;kernel&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Qualcomm Shared Memory Driver is a FIFO based communication channel for sending data between the various subsystems in Qualcomm platforms.
Using the top-level SMD node is deprecated. Instead, the SMD edges are defined directly below the device node representing the respective remote subsystem or remote processor.</p>
</div>

**Deprecated (<code>deprecated</code>):** <span id="dt-a3c8d6bcd87de16bde6b"><code>true</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;qcom&#44;smd&#34;</code></span>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-3637a58358c49abedf93"></a>

### <code>&#94;smd&#45;edge&#124;rpm&#36;</code> — name matches this regular expression

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-cf613281416675e4ba64">[<code>&#47;schemas&#47;remoteproc&#47;qcom&#44;smd&#45;edge&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-remoteproc/qcom-smd-edge.md#dt-root>)</span>

<a id="dt-7ab129d320018b3b46de"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<div id="dt-6ceb61d1a8148dbe6646">
<p style="white-space: pre-wrap">Each subnode of the SMD node represents a remote subsystem or a remote processor of some sort - or in SMD language an "edge". The name of the edges are not important.</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>

<a id="dt-738c4b4f9e483441138b"></a>

## Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;

shared-memory {
    compatible = "qcom,smd";

    rpm {
        interrupts = &lt;GIC_SPI 168 IRQ_TYPE_EDGE_RISING&gt;;
        qcom,ipc = &lt;&amp;apcs 8 0&gt;;
        qcom,smd-edge = &lt;15&gt;;

        rpm-requests {
            compatible = "qcom,rpm-msm8974", "qcom,smd-rpm";
            qcom,smd-channels = "rpm_requests";

            clock-controller {
                compatible = "qcom,rpmcc-msm8974", "qcom,rpmcc";
                #clock-cells = &lt;1&gt;;
            };

        };
    };
};
</code></pre>

## Source notes

<details>
<summary>Annotations retained from the schema source</summary>

<p id="dt-comment-0"><strong>Line 1:</strong> <span> SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause</span></p>

<p id="dt-comment-1"><strong>Line 43:</strong> <span> The following example represents a smd node, with one edge representing the</span></p>

<p id="dt-comment-2"><strong>Line 44:</strong> <span> "rpm" subsystem. For the "rpm" subsystem we have a device tied to the</span></p>

<p id="dt-comment-3"><strong>Line 45:</strong> <span> "rpm_request" channel.</span></p>

<p id="dt-comment-4"><strong>Line 46:</strong> <span> NOTE: This is deprecated, represent the RPM using "qcom,rpm-proc" instead.</span></p>

</details>
