Qualcomm SMD Edge communication channel nodes

Schema identifier ($id): "http://devicetree.org/schemas/remoteproc/qcom,smd-edge.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Bjorn Andersson <bjorn.andersson@linaro.org>"

Qualcomm SMD subnode 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. In turn, subnodes of the "edges" represent devices tied to SMD channels on that "edge". The names of the devices are not important. The properties of these nodes are defined by the individual bindings for the SMD devices. See also Documentation/devicetree/bindings/soc/qcom/qcom,smd.yaml

Properties and child nodes (properties) #

$nodename — not listed as required here #

Exact value (const): "smd-edge"

apr — not listed as required here #

Shared schema rule ($ref): /schemas/soc/qcom/qcom,apr.yaml#

Required in this object (required): "qcom,smd-channels"

Qualcomm APR/GPR (Asynchronous/Generic Packet Router)

fastrpc — not listed as required here #

Shared schema rule ($ref): /schemas/misc/qcom,fastrpc.yaml#

Required in this object (required): "qcom,smd-channels"

Qualcomm FastRPC

interrupts — required here #

Maximum number of items (maxItems): 1

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.

mboxes — not listed as required here #

Maximum number of items (maxItems): 1

Reference to the mailbox representing the outgoing doorbell in APCS for this client.

qcom,ipc — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array

Array item rules (items) #

Item 1

Array item rules (items)

Item 1

phandle to a syscon node representing the APCS registers

Item 2

u32 representing offset to the register within the syscon

Item 3

u32 representing the ipc bit within the register

Three entries specifying the outgoing ipc bit used for signaling the remote processor.

Deprecated (deprecated): true

qcom,smd-edge — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

The identifier of the remote processor in the smd channel allocation table.

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.

rpm-requests — not listed as required here #

Shared schema rule ($ref): /schemas/soc/qcom/qcom,smd-rpm.yaml#

Required in this object (required): "qcom,smd-channels"

Qualcomm Resource Power Manager (RPM) over SMD.

wcnss — not listed as required here #

Shared schema rule ($ref): /schemas/soc/qcom/qcom,wcnss.yaml

Required in this object (required): "qcom,smd-channels"

Qualcomm WCNSS for Bluetooth, WiFi and FM radio.

Required in this object (required): "interrupts", "qcom,smd-edge"

Exactly one of these rules must match (oneOf) #

Rule 1 #

Required in this object (required): "mboxes"

Rule 2 #

Required in this object (required): "qcom,ipc"

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>
#include <dt-bindings/mailbox/qcom-ipcc.h>

remoteproc {
    // ...

    smd-edge {
        interrupts = <GIC_SPI 156 IRQ_TYPE_EDGE_RISING>;

        mboxes = <&apcs 8>;
        qcom,smd-edge = <1>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page