brintos

brintos / linux-shallow public Read only

0
0
Text · 2.5 KiB · 3ad0d9b Raw
116 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/dma/qcom,bam-dma.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Qualcomm Technologies Inc BAM DMA controller8 9maintainers:10  - Andy Gross <agross@kernel.org>11  - Bjorn Andersson <andersson@kernel.org>12 13allOf:14  - $ref: dma-controller.yaml#15 16properties:17  compatible:18    oneOf:19      - enum:20          # APQ8064, IPQ8064 and MSM896021          - qcom,bam-v1.3.022          # MSM8974, APQ8074 and APQ808423          - qcom,bam-v1.4.024          # MSM8916, SDM63025          - qcom,bam-v1.7.026      - items:27          - enum:28              # SDM845, SM6115, SM8150, SM8250 and QCM229029              - qcom,bam-v1.7.430          - const: qcom,bam-v1.7.031 32  clocks:33    maxItems: 134 35  clock-names:36    items:37      - const: bam_clk38 39  "#dma-cells":40    const: 141 42  interrupts:43    maxItems: 144 45  iommus:46    minItems: 147    maxItems: 648 49  num-channels:50    $ref: /schemas/types.yaml#/definitions/uint3251    description:52      Indicates supported number of DMA channels in a remotely controlled bam.53 54  qcom,controlled-remotely:55    type: boolean56    description:57      Indicates that the bam is controlled by remote processor i.e. execution58      environment.59 60  qcom,ee:61    $ref: /schemas/types.yaml#/definitions/uint3262    minimum: 063    maximum: 764    description:65      Indicates the active Execution Environment identifier (0-7) used in the66      secure world.67 68  qcom,num-ees:69    $ref: /schemas/types.yaml#/definitions/uint3270    description:71      Indicates supported number of Execution Environments in a remotely72      controlled bam.73 74  qcom,powered-remotely:75    type: boolean76    description:77      Indicates that the bam is powered up by a remote processor but must be78      initialized by the local processor.79 80  reg:81    maxItems: 182 83required:84  - compatible85  - "#dma-cells"86  - interrupts87  - qcom,ee88  - reg89 90anyOf:91  - required:92      - qcom,powered-remotely93  - required:94      - qcom,controlled-remotely95  - required:96      - clocks97      - clock-names98 99additionalProperties: false100 101examples:102  - |103    #include <dt-bindings/interrupt-controller/arm-gic.h>104    #include <dt-bindings/clock/qcom,gcc-msm8974.h>105 106    dma-controller@f9944000 {107        compatible = "qcom,bam-v1.4.0";108        reg = <0xf9944000 0x19000>;109        interrupts = <GIC_SPI 239 IRQ_TYPE_LEVEL_HIGH>;110        clocks = <&gcc GCC_BLSP2_AHB_CLK>;111        clock-names = "bam_clk";112        #dma-cells = <1>;113        qcom,ee = <0>;114    };115...116