xref: /linux/Documentation/devicetree/bindings/sound/sprd,sc9860-mcdt.yaml (revision 7f4f3b14e8079ecde096bd734af10e30d40c27b7)
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
7title: Spreadtrum Multi-Channel Data Transfer controller
8
9description:
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
15maintainers:
16  - Orson Zhai <orsonzhai@gmail.com>
17  - Baolin Wang <baolin.wang7@gmail.com>
18  - Chunyan Zhang <zhang.lyra@gmail.com>
19
20properties:
21  compatible:
22    const: sprd,sc9860-mcdt
23
24  reg:
25    maxItems: 1
26
27  interrupts:
28    maxItems: 1
29
30required:
31  - compatible
32  - reg
33  - interrupts
34
35additionalProperties: false
36
37examples:
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...
48