Qualcomm G-Link RPM edge
Schema identifier ($id): "http://devicetree.org/schemas/remoteproc/qcom,glink-rpm-edge.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Qualcomm G-Link edge, a FIFO based mechanism for communication with Resource Power Manager (RPM) on various Qualcomm platforms.
Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "qcom,glink-rpm"
label — not listed as required here #
Name of the edge, used for debugging and identification purposes. The node name will be used if this is not present.
interrupts — required here #
Maximum number of items (maxItems): 1
mboxes — required here #
Array item rules (items) #
Item 1
rpm_hlos mailbox in APCS
qcom,remote-pid — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
The identifier for the remote processor as known by the rest of the system.
qcom,rpm-msg-ram — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
RPM message memory resource (compatible: qcom,rpm-msg-ram).
rpm-requests — not listed as required here #
Value type (type): "object"
Shared schema rule ($ref): /schemas/soc/qcom/qcom,smd-rpm.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Qualcomm Resource Power Manager (RPM) over G-Link
Properties and child nodes (properties) #
qcom,intents — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-matrix
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 32
Array item rules (items)
Array item rules (
items)Item 1
size of each intent to preallocate
Item 2
amount of intents to preallocate
Minimum value (
minimum):1
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.
Required in this object (required): "qcom,glink-channels"
Required in this object (required): "compatible", "interrupts", "mboxes"
At least one of these rules must match (anyOf) #
Rule 1 #
Rule 2 #
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
glink-edge {
compatible = "qcom,glink-rpm";
interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>;
mboxes = <&apcs_glb 0>;
qcom,rpm-msg-ram = <&rpm_msg_ram>;
rpm-requests {
compatible = "qcom,rpm-msm8996", "qcom,glink-smd-rpm";
qcom,glink-channels = "rpm_requests";
/* ... */
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)