Debian Codegraph @

dtschema/schemas/dma/dma.yaml

raw
1 # SPDX-License-Identifier: BSD-2-Clause
2 # Copyright 2019 Linaro Ltd.
3 %YAML 1.2
4 ---
5 $id: http://devicetree.org/schemas/dma/dma.yaml#
6 $schema: http://devicetree.org/meta-schemas/base.yaml#
7
8 title: DMA Consumer Common Properties
9
10 maintainers:
11 - Rob Herring <[email protected]>
12
13 # always select the core schema
14 select: true
15
16 properties:
17 dmas:
18 $ref: /schemas/types.yaml#/definitions/phandle-array
19
20 dma-names:
21 anyOf:
22 - uniqueItems: true
23 - items:
24 # Hack around Renesas bindings which repeat entries to support
25 # multiple possible DMA providers
26 enum: [rx, tx]
27
28 dependencies:
29 dma-names: [ dmas ]
30
31 additionalProperties: true