summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/sound/ti,omap4-mcpdm.yaml
blob: cdea0a00826a1b42cc803a77453853d0dba528c6 (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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/sound/ti,omap4-mcpdm.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: OMAP McPDM

maintainers:
  - Misael Lopez Cruz <misael.lopez@ti.com>

description:
  OMAP ALSA SoC DAI driver using McPDM port used by TWL6040

properties:
  compatible:
    const: ti,omap4-mcpdm

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

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

  interrupts:
    maxItems: 1

  dmas:
    maxItems: 2

  dma-names:
    items:
      - const: up_link
      - const: dn_link

  clocks:
    maxItems: 1

  clock-names:
    items:
      - const: pdmclk

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

additionalProperties: false

examples:
  - |
    #include <dt-bindings/interrupt-controller/arm-gic.h>
    mcpdm@0 {
      compatible = "ti,omap4-mcpdm";
      reg = <0x0 0x7f>, /* MPU private access */
            <0x49032000 0x7f>; /* L3 Interconnect */
      reg-names = "mpu", "dma";
      interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
      interrupt-parent = <&gic>;
      dmas = <&sdma 65>, <&sdma 66>;
      dma-names = "up_link", "dn_link";
      clocks = <&twl6040>;
      clock-names = "pdmclk";
    };