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