Qualcomm Technologies Inc BAM DMA controller

Schema identifier ($id): "http://devicetree.org/schemas/dma/qcom,bam-dma.yaml#"

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

Maintainers (maintainers): "Andy Gross <agross@kernel.org>", "Bjorn Andersson <andersson@kernel.org>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): dma-controller.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "qcom,bam-v1.3.0", "qcom,bam-v1.4.0", "qcom,bam-v1.7.0"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "qcom,bam-v1.7.4"

Item 2

Exact value (const): "qcom,bam-v1.7.0"

clocks — not listed as required here #

Maximum number of items (maxItems): 1

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "bam_clk"

#dma-cells — required here #

Exact value (const): 1

interrupts — required here #

Maximum number of items (maxItems): 1

dma-coherent — not listed as required here #

true — No constraints added by this property rule.

iommus — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 6

num-channels — not listed as required here #

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

Indicates supported number of DMA channels in a remotely controlled bam.

qcom,controlled-remotely — not listed as required here #

Value type (type): "boolean"

Indicates that the bam is controlled by remote processor i.e. execution environment.

qcom,ee — required here #

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

Minimum value (minimum): 0

Maximum value (maximum): 7

Indicates the active Execution Environment identifier (0-7) used in the secure world.

qcom,num-ees — not listed as required here #

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

Indicates supported number of Execution Environments in a remotely controlled bam.

qcom,powered-remotely — not listed as required here #

Value type (type): "boolean"

Indicates that the bam is powered up by a remote processor but must be initialized by the local processor.

reg — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "#dma-cells", "interrupts", "qcom,ee", "reg"

At least one of these rules must match (anyOf) #

Rule 1 #

Required in this object (required): "qcom,powered-remotely", "num-channels", "qcom,num-ees"

Rule 2 #

Required in this object (required): "qcom,controlled-remotely", "num-channels", "qcom,num-ees"

Rule 3 #

Required in this object (required): "clocks", "clock-names"

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/clock/qcom,gcc-msm8974.h>

dma-controller@f9944000 {
    compatible = "qcom,bam-v1.4.0";
    reg = <0xf9944000 0x19000>;
    interrupts = <GIC_SPI 239 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&gcc GCC_BLSP2_AHB_CLK>;
    clock-names = "bam_clk";
    #dma-cells = <1>;
    qcom,ee = <0>;
};

Source notes #

Annotations retained from the schema source

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

Line 20: APQ8064, IPQ8064 and MSM8960

Line 22: MSM8974, APQ8074 and APQ8084

Line 24: MSM8916, SDM630

Line 28: SDM845, SM6115, SM8150, SM8250 and QCM2290

Edit this page