summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/sound/google,chv3-i2s.yaml
blob: 3ce910f44d393607c9255a742a5ce7cc34b953f3 (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
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/sound/google,chv3-i2s.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Google Chameleon v3 I2S device

maintainers:
  - Paweł Anikiel <pan@semihalf.com>

description: |
  I2S device for the Google Chameleon v3. The device handles both RX
  and TX using a producer/consumer ring buffer design.

properties:
  compatible:
    const: google,chv3-i2s

  reg:
    items:
      - description: core registers
      - description: irq registers

  interrupts:
    maxItems: 1

required:
  - compatible
  - reg
  - interrupts

additionalProperties: false

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

    i2s@c0060300 {
        compatible = "google,chv3-i2s";
        reg = <0xc0060300 0x100>,
              <0xc0060f00 0x10>;
        interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
    };