xref: /linux/Documentation/devicetree/bindings/sound/google,chv3-i2s.yaml (revision cdd5b5a9761fd66d17586e4f4ba6588c70e640ea)
1*6f2c1e7cSPaweł Anikiel# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*6f2c1e7cSPaweł Anikiel%YAML 1.2
3*6f2c1e7cSPaweł Anikiel---
4*6f2c1e7cSPaweł Anikiel$id: http://devicetree.org/schemas/sound/google,chv3-i2s.yaml#
5*6f2c1e7cSPaweł Anikiel$schema: http://devicetree.org/meta-schemas/core.yaml#
6*6f2c1e7cSPaweł Anikiel
7*6f2c1e7cSPaweł Anikieltitle: Google Chameleon v3 I2S device
8*6f2c1e7cSPaweł Anikiel
9*6f2c1e7cSPaweł Anikielmaintainers:
10*6f2c1e7cSPaweł Anikiel  - Paweł Anikiel <pan@semihalf.com>
11*6f2c1e7cSPaweł Anikiel
12*6f2c1e7cSPaweł Anikieldescription: |
13*6f2c1e7cSPaweł Anikiel  I2S device for the Google Chameleon v3. The device handles both RX
14*6f2c1e7cSPaweł Anikiel  and TX using a producer/consumer ring buffer design.
15*6f2c1e7cSPaweł Anikiel
16*6f2c1e7cSPaweł Anikielproperties:
17*6f2c1e7cSPaweł Anikiel  compatible:
18*6f2c1e7cSPaweł Anikiel    const: google,chv3-i2s
19*6f2c1e7cSPaweł Anikiel
20*6f2c1e7cSPaweł Anikiel  reg:
21*6f2c1e7cSPaweł Anikiel    items:
22*6f2c1e7cSPaweł Anikiel      - description: core registers
23*6f2c1e7cSPaweł Anikiel      - description: irq registers
24*6f2c1e7cSPaweł Anikiel
25*6f2c1e7cSPaweł Anikiel  interrupts:
26*6f2c1e7cSPaweł Anikiel    maxItems: 1
27*6f2c1e7cSPaweł Anikiel
28*6f2c1e7cSPaweł Anikielrequired:
29*6f2c1e7cSPaweł Anikiel  - compatible
30*6f2c1e7cSPaweł Anikiel  - reg
31*6f2c1e7cSPaweł Anikiel  - interrupts
32*6f2c1e7cSPaweł Anikiel
33*6f2c1e7cSPaweł AnikieladditionalProperties: false
34*6f2c1e7cSPaweł Anikiel
35*6f2c1e7cSPaweł Anikielexamples:
36*6f2c1e7cSPaweł Anikiel  - |
37*6f2c1e7cSPaweł Anikiel    #include <dt-bindings/interrupt-controller/arm-gic.h>
38*6f2c1e7cSPaweł Anikiel
39*6f2c1e7cSPaweł Anikiel    i2s@c0060300 {
40*6f2c1e7cSPaweł Anikiel        compatible = "google,chv3-i2s";
41*6f2c1e7cSPaweł Anikiel        reg = <0xc0060300 0x100>,
42*6f2c1e7cSPaweł Anikiel              <0xc0060f00 0x10>;
43*6f2c1e7cSPaweł Anikiel        interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
44*6f2c1e7cSPaweł Anikiel    };
45