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