summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/sound/ti,omap4-dmic.yaml
blob: 773b9bf2f1c274ab8a2f94a21faaf10ce3f2132c (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
48
49
50
51
52
53
54
55
56
57
58
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/sound/ti,omap4-dmic.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Texas Instruments OMAP4+ Digital Microphone Module

maintainers:
  - Peter Ujfalusi <peter.ujfalusi@ti.com>

properties:
  compatible:
    const: ti,omap4-dmic

  reg:
    items:
      - description: MPU access base address
      - description: L3 interconnect address

  reg-names:
    items:
      - const: mpu
      - const: dma

  interrupts:
    maxItems: 1

  dmas:
    maxItems: 1

  dma-names:
    items:
      - const: up_link

required:
  - compatible
  - reg
  - reg-names
  - interrupts
  - dmas
  - dma-names

additionalProperties: false

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

    dmic@0 {
      compatible = "ti,omap4-dmic";
      reg = <0x0 0x7f>, /* MPU private access */
            <0x4902e000 0x7f>; /* L3 Interconnect */
      reg-names = "mpu", "dma";
      interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
      dmas = <&sdma 67>;
      dma-names = "up_link";
    };