# Qualcomm G-Link RPM edge

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Remoteproc bindings_

> Device-tree binding reference for Qualcomm G-Link RPM edge.

<!-- 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;remoteproc&#47;qcom&#44;glink&#45;rpm&#45;edge&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Qualcomm G-Link edge, a FIFO based mechanism for communication with Resource
Power Manager (RPM) on various Qualcomm platforms.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Bjorn Andersson &#60;andersson&#64;kernel&#46;org&#62;&#34;</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;glink&#45;rpm&#34;</code></span>

<a id="dt-0c6076cd9d6f109c5cc6"></a>

### <code>label</code> — not listed as required here

<div id="dt-f7c1a813bb0d2e9dd066">
<p style="white-space: pre-wrap">Name of the edge, used for debugging and identification purposes. The node name will be used if this is not present.</p>
</div>

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

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-574e031ceefcc9ce5f61"></a>

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

<a id="dt-9989e8e5633f2c6ccb3b"></a>

#### Array item rules (<code>items</code>)

<a id="dt-53d69334d9dba1b769db"></a>

**Item 1**

> <div id="dt-9fe3a6bfb71f511e8481">
> <p style="white-space: pre-wrap">rpm_hlos mailbox in APCS</p>
> </div>

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

### <code>qcom&#44;remote&#45;pid</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-27d5c16df5e6e9db8cfc">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

<div id="dt-875d90f2a2e25ae2575d">
<p style="white-space: pre-wrap">The identifier for the remote processor as known by the rest of the system.</p>
</div>

<a id="dt-2d302b7c27f5f2b3621d"></a>

### <code>qcom&#44;rpm&#45;msg&#45;ram</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-8315ce15658751c4ab98">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2533fa46618221e83225>)</span>

<div id="dt-e9dddee57154514eedc6">
<p style="white-space: pre-wrap">RPM message memory resource (compatible: qcom,rpm-msg-ram).</p>
</div>

<a id="dt-4f786705e1274e538e49"></a>

### <code>rpm&#45;requests</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-77edcdb050bf4176093d"><code>&#34;object&#34;</code></span>

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

<a id="dt-89c0597920b7a5c47a71"></a>

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

<code>false</code>

Not allowed by this rule.

<div id="dt-e64e1e1845d303f00960">
<p style="white-space: pre-wrap">Qualcomm Resource Power Manager (RPM) over G-Link</p>
</div>

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

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

<a id="dt-27573da89631ccc10955"></a>

**<code>qcom&#44;intents</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-63772232bd13c3fe3413">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32&#45;matrix</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d948f2945b497d9aa3c7>)</span>

**Minimum number of items (<code>minItems</code>):** <span id="dt-a0ae325859ff6bbc2226"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-9d25689d5b68303f9b4c"><code>32</code></span>

<a id="dt-598fd396a0ad924bdc63"></a>

**Array item rules (<code>items</code>)**

> <a id="dt-69793614155247f93cc5"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-6734ecbe040c22128cbb"></a>
>
> **Item 1**
>
> > <div id="dt-b61ef4bb9e0589aabf6f">
> > <p style="white-space: pre-wrap">size of each intent to preallocate</p>
> > </div>
>
> <a id="dt-ded939cb6329abb3f720"></a>
>
> **Item 2**
>
> > <div id="dt-aac74f41146950ecd53a">
> > <p style="white-space: pre-wrap">amount of intents to preallocate</p>
> > </div>
> >
> > **Minimum value (<code>minimum</code>):** <span id="dt-ead78c3e8ea1cca742e5"><code>1</code></span>

<div id="dt-c78a2dfdc92ef376fcf3">
<p style="white-space: pre-wrap">List of (size, amount) pairs describing what intents should be preallocated for this virtual channel. This can be used to tweak the default intents available for the channel to meet expectations of the remote.</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-787eb5e7b7e8cbbcfdec"></a> <span id="dt-d977285d90f9d4dc8d53"><code>&#34;qcom&#44;glink&#45;channels&#34;</code></span>

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

<a id="dt-413065af65ac6af8f24e"></a>

## At least one of these rules must match (<code>anyOf</code>)

<a id="dt-96eb361b08260472facb"></a>

### Rule 1

> **Required in this object (<code>required</code>):** <a id="dt-a3ce052275bac2469e04"></a> <span id="dt-396aa8b3d1b1aeeb2c7a"><code>&#34;qcom&#44;remote&#45;pid&#34;</code></span>

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

### Rule 2

> **Required in this object (<code>required</code>):** <a id="dt-bb61b4b3827abc4e9b85"></a> <span id="dt-cffc196e945e46f91e3a"><code>&#34;qcom&#44;rpm&#45;msg&#45;ram&#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;

glink-edge {
    compatible = "qcom,glink-rpm";
    interrupts = &lt;GIC_SPI 168 IRQ_TYPE_EDGE_RISING&gt;;
    mboxes = &lt;&amp;apcs_glb 0&gt;;
    qcom,rpm-msg-ram = &lt;&amp;rpm_msg_ram&gt;;

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

        /* ... */
    };
};
</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>

</details>
