Debian Codegraph @

Documentation/devicetree/bindings/sound/sprd,sc9860-mcdt.yaml

raw
1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/sound/sprd,sc9860-mcdt.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Spreadtrum Multi-Channel Data Transfer controller
8
9 description:
10 The Multi-channel data transfer controller is used for sound stream
11 transmission between the audio subsystem and other AP/CP subsystem. It
12 supports 10 DAC channels and 10 ADC channels, and each channel can be
13 configured with DMA mode or interrupt mode.
14
15 maintainers:
16 - Orson Zhai <[email protected]>
17 - Baolin Wang <[email protected]>
18 - Chunyan Zhang <[email protected]>
19
20 properties:
21 compatible:
22 const: sprd,sc9860-mcdt
23
24 reg:
25 maxItems: 1
26
27 interrupts:
28 maxItems: 1
29
30 required:
31 - compatible
32 - reg
33 - interrupts
34
35 additionalProperties: false
36
37 examples:
38 - |
39 #include <dt-bindings/interrupt-controller/arm-gic.h>
40 #include <dt-bindings/interrupt-controller/irq.h>
41
42 mcdt@41490000 {
43 compatible = "sprd,sc9860-mcdt";
44 reg = <0x41490000 0x170>;
45 interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
46 };
47 ...