xref: /freebsd/sys/contrib/device-tree/Bindings/sound/sprd,sc9860-mcdt.yaml (revision 5f62a964e9f8abc6a05d8338273fadd154f0a206)
1*5f62a964SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2*5f62a964SEmmanuel Vadot%YAML 1.2
3*5f62a964SEmmanuel Vadot---
4*5f62a964SEmmanuel Vadot$id: http://devicetree.org/schemas/sound/sprd,sc9860-mcdt.yaml#
5*5f62a964SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*5f62a964SEmmanuel Vadot
7*5f62a964SEmmanuel Vadottitle: Spreadtrum Multi-Channel Data Transfer controller
8*5f62a964SEmmanuel Vadot
9*5f62a964SEmmanuel Vadotdescription:
10*5f62a964SEmmanuel Vadot  The Multi-channel data transfer controller is used for sound stream
11*5f62a964SEmmanuel Vadot  transmission between the audio subsystem and other AP/CP subsystem. It
12*5f62a964SEmmanuel Vadot  supports 10 DAC channels and 10 ADC channels, and each channel can be
13*5f62a964SEmmanuel Vadot  configured with DMA mode or interrupt mode.
14*5f62a964SEmmanuel Vadot
15*5f62a964SEmmanuel Vadotmaintainers:
16*5f62a964SEmmanuel Vadot  - Orson Zhai <orsonzhai@gmail.com>
17*5f62a964SEmmanuel Vadot  - Baolin Wang <baolin.wang7@gmail.com>
18*5f62a964SEmmanuel Vadot  - Chunyan Zhang <zhang.lyra@gmail.com>
19*5f62a964SEmmanuel Vadot
20*5f62a964SEmmanuel Vadotproperties:
21*5f62a964SEmmanuel Vadot  compatible:
22*5f62a964SEmmanuel Vadot    const: sprd,sc9860-mcdt
23*5f62a964SEmmanuel Vadot
24*5f62a964SEmmanuel Vadot  reg:
25*5f62a964SEmmanuel Vadot    maxItems: 1
26*5f62a964SEmmanuel Vadot
27*5f62a964SEmmanuel Vadot  interrupts:
28*5f62a964SEmmanuel Vadot    maxItems: 1
29*5f62a964SEmmanuel Vadot
30*5f62a964SEmmanuel Vadotrequired:
31*5f62a964SEmmanuel Vadot  - compatible
32*5f62a964SEmmanuel Vadot  - reg
33*5f62a964SEmmanuel Vadot  - interrupts
34*5f62a964SEmmanuel Vadot
35*5f62a964SEmmanuel VadotadditionalProperties: false
36*5f62a964SEmmanuel Vadot
37*5f62a964SEmmanuel Vadotexamples:
38*5f62a964SEmmanuel Vadot  - |
39*5f62a964SEmmanuel Vadot    #include <dt-bindings/interrupt-controller/arm-gic.h>
40*5f62a964SEmmanuel Vadot    #include <dt-bindings/interrupt-controller/irq.h>
41*5f62a964SEmmanuel Vadot
42*5f62a964SEmmanuel Vadot    mcdt@41490000 {
43*5f62a964SEmmanuel Vadot      compatible = "sprd,sc9860-mcdt";
44*5f62a964SEmmanuel Vadot      reg = <0x41490000 0x170>;
45*5f62a964SEmmanuel Vadot      interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
46*5f62a964SEmmanuel Vadot    };
47*5f62a964SEmmanuel Vadot...
48