summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/sound/sprd,sc9860-mcdt.yaml
blob: 3b66bedeff97319224adf1da9bcf7f381903957a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/sound/sprd,sc9860-mcdt.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Spreadtrum Multi-Channel Data Transfer controller

description:
  The Multi-channel data transfer controller is used for sound stream
  transmission between the audio subsystem and other AP/CP subsystem. It
  supports 10 DAC channels and 10 ADC channels, and each channel can be
  configured with DMA mode or interrupt mode.

maintainers:
  - Orson Zhai <orsonzhai@gmail.com>
  - Baolin Wang <baolin.wang7@gmail.com>
  - Chunyan Zhang <zhang.lyra@gmail.com>

properties:
  compatible:
    const: sprd,sc9860-mcdt

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

required:
  - compatible
  - reg
  - interrupts

additionalProperties: false

examples:
  - |
    #include <dt-bindings/interrupt-controller/arm-gic.h>
    #include <dt-bindings/interrupt-controller/irq.h>

    mcdt@41490000 {
      compatible = "sprd,sc9860-mcdt";
      reg = <0x41490000 0x170>;
      interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
    };
...