Qualcomm SM6375 Peripheral Authentication Service

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

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

Maintainers (maintainers): "Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>"

Qualcomm SM6375 SoC Peripheral Authentication Service loads and boots firmware on the Qualcomm DSP Hexagon cores.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,sm6375-adsp-pas", "qcom,sm6375-cdsp-pas", "qcom,sm6375-mpss-pas"

reg — required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Array item rules (items) #

Item 1

XO clock

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "xo"

memory-region — not listed as required here #

Maximum number of items (maxItems): 1

Reference to the reserved-memory for the Hexagon core

firmware-name — not listed as required here #

Maximum number of items (maxItems): 1

Firmware name for the Hexagon core

smd-edge — not listed as required here #

false — Not permitted by this property rule.

Required in this object (required): "compatible", "reg"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/remoteproc/qcom,pas-common.yaml#

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Allowed values (enum): "qcom,sm6375-adsp-pas", "qcom,sm6375-cdsp-pas"

When the condition matches (then) #

Properties and child nodes (properties)

interrupts — not listed as required here

Maximum number of items (maxItems): 5

interrupt-names — not listed as required here

Maximum number of items (maxItems): 5

When the condition does not match (else) #

Properties and child nodes (properties)

interrupts — not listed as required here

Minimum number of items (minItems): 6

interrupt-names — not listed as required here

Minimum number of items (minItems): 6

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Allowed values (enum): "qcom,sm6375-adsp-pas"

When the condition matches (then) #

Properties and child nodes (properties)

power-domains — not listed as required here

Array item rules (items)

Item 1

LCX power domain

Item 2

LMX power domain

power-domain-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "lcx"

Item 2

Exact value (const): "lmx"

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Allowed values (enum): "qcom,sm6375-cdsp-pas", "qcom,sm6375-mpss-pas"

When the condition matches (then) #

Properties and child nodes (properties)

power-domains — not listed as required here

Array item rules (items)

Item 1

CX power domain

power-domain-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "cx"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmcc.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/mailbox/qcom-ipcc.h>
#include <dt-bindings/power/qcom-rpmpd.h>

remoteproc_adsp: remoteproc@a400000 {
    compatible = "qcom,sm6375-adsp-pas";
    reg = <0x0a400000 0x100>;

    interrupts-extended = <&intc GIC_SPI 282 IRQ_TYPE_LEVEL_HIGH>,
                          <&smp2p_adsp_in 0 IRQ_TYPE_EDGE_RISING>,
                          <&smp2p_adsp_in 1 IRQ_TYPE_EDGE_RISING>,
                          <&smp2p_adsp_in 2 IRQ_TYPE_EDGE_RISING>,
                          <&smp2p_adsp_in 3 IRQ_TYPE_EDGE_RISING>;
    interrupt-names = "wdog", "fatal", "ready",
                      "handover", "stop-ack";

    clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>;
    clock-names = "xo";

    power-domains = <&rpmpd SM6375_VDD_LPI_CX>,
                    <&rpmpd SM6375_VDD_LPI_MX>;
    power-domain-names = "lcx", "lmx";

    memory-region = <&pil_adsp_mem>;

    qcom,smem-states = <&smp2p_adsp_out 0>;
    qcom,smem-state-names = "stop";

    glink-edge {
        interrupts-extended = <&ipcc IPCC_CLIENT_LPASS
                                     IPCC_MPROC_SIGNAL_GLINK_QMP
                                     IRQ_TYPE_EDGE_RISING>;
        mboxes = <&ipcc IPCC_CLIENT_LPASS
                        IPCC_MPROC_SIGNAL_GLINK_QMP>;

        label = "lpass";
        qcom,remote-pid = <2>;

        /* ... */
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page