Qualcomm ADSP Peripheral Image Loader

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

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

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

This document defines the binding for a component that loads and boots firmware on the Qualcomm ADSP Hexagon core.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,msm8226-adsp-pil", "qcom,msm8953-adsp-pil", "qcom,msm8974-adsp-pil", "qcom,msm8996-adsp-pil", "qcom,msm8996-slpi-pil", "qcom,msm8998-adsp-pas", "qcom,msm8998-slpi-pas", "qcom,sdm660-adsp-pas", "qcom,sdm660-cdsp-pas", "qcom,sdm845-adsp-pas", "qcom,sdm845-cdsp-pas", "qcom,sdm845-slpi-pas"

reg — not listed as required here #

Maximum number of items (maxItems): 1

cx-supply — not listed as required here #

true — No constraints added by this property rule.

px-supply — not listed as required here #

Phandle to the PX regulator

qcom,qmp — not listed as required here #

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

Reference to the AOSS side-channel message RAM.

memory-region — 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

Required in this object (required): "compatible", "memory-region"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

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

Rule for matching array elements (contains)

Allowed values (enum): "qcom,msm8226-adsp-pil", "qcom,msm8953-adsp-pil", "qcom,msm8974-adsp-pil", "qcom,msm8996-adsp-pil", "qcom,msm8996-slpi-pil", "qcom,msm8998-adsp-pas", "qcom,msm8998-slpi-pas", "qcom,sdm660-adsp-pas", "qcom,sdm660-cdsp-pas", "qcom,sdm845-adsp-pas", "qcom,sdm845-cdsp-pas", "qcom,sdm845-slpi-pas"

When the condition matches (then) #

Properties and child nodes (properties)

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"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,msm8226-adsp-pil", "qcom,msm8953-adsp-pil", "qcom,msm8974-adsp-pil", "qcom,msm8996-adsp-pil", "qcom,msm8996-slpi-pil", "qcom,msm8998-adsp-pas", "qcom,msm8998-slpi-pas", "qcom,sdm660-adsp-pas", "qcom,sdm660-cdsp-pas", "qcom,sdm845-adsp-pas", "qcom,sdm845-cdsp-pas", "qcom,sdm845-slpi-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

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,msm8226-adsp-pil", "qcom,msm8953-adsp-pil", "qcom,msm8974-adsp-pil", "qcom,msm8996-adsp-pil", "qcom,msm8998-adsp-pas", "qcom,sdm660-adsp-pas", "qcom,sdm660-cdsp-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"

Rule 5 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,msm8996-slpi-pil", "qcom,msm8998-slpi-pas"

When the condition matches (then) #

Properties and child nodes (properties)

power-domains — not listed as required here

Array item rules (items)

Item 1

SSC-CX power domain

power-domain-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "ssc_cx"

Required in this object (required): "px-supply"

Rule 6 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Allowed values (enum): "qcom,sdm845-slpi-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"

When the condition does not match (else) #

Properties and child nodes (properties)

cx-supply — not listed as required here

false — Not permitted by this property rule.

Rule 7 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,msm8226-adsp-pil", "qcom,msm8953-adsp-pil", "qcom,msm8974-adsp-pil", "qcom,msm8996-adsp-pil", "qcom,msm8996-slpi-pil", "qcom,msm8998-adsp-pas", "qcom,msm8998-slpi-pas", "qcom,sdm660-adsp-pas", "qcom,sdm660-cdsp-pas"

When the condition matches (then) #

Properties and child nodes (properties)

qcom,qmp — not listed as required here

false — Not permitted by this property rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmcc.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/power/qcom-rpmpd.h>
adsp {
    compatible = "qcom,msm8974-adsp-pil";

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

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

    power-domains = <&rpmpd MSM8974_VDDCX>;
    power-domain-names = "cx";

    memory-region = <&adsp_region>;

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

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

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

Source notes #

Annotations retained from the schema source

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

Edit this page