xref: /linux/Documentation/devicetree/bindings/sound/nvidia,tegra30-i2s.yaml (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/sound/nvidia,tegra30-i2s.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: NVIDIA Tegra30 I2S controller
8
9maintainers:
10  - Thierry Reding <treding@nvidia.com>
11  - Jon Hunter <jonathanh@nvidia.com>
12
13properties:
14  compatible:
15    oneOf:
16      - enum:
17          - nvidia,tegra124-i2s
18          - nvidia,tegra30-i2s
19      - items:
20          - const: nvidia,tegra114-i2s
21          - const: nvidia,tegra30-i2s
22
23  reg:
24    maxItems: 1
25
26  clocks:
27    maxItems: 1
28
29  clock-names:
30    const: i2s
31
32  resets:
33    maxItems: 1
34
35  reset-names:
36    const: i2s
37
38  nvidia,ahub-cif-ids:
39    description: list of AHUB CIF IDs
40    $ref: /schemas/types.yaml#/definitions/uint32-array
41    items:
42      - description: rx (playback)
43      - description: tx (capture)
44
45required:
46  - compatible
47  - reg
48  - clocks
49  - resets
50  - reset-names
51  - nvidia,ahub-cif-ids
52
53additionalProperties: false
54
55examples:
56  - |
57    #include <dt-bindings/clock/tegra30-car.h>
58
59    i2s@70080300 {
60        compatible = "nvidia,tegra30-i2s";
61        reg = <0x70080300 0x100>;
62        nvidia,ahub-cif-ids = <4 4>;
63        clocks = <&tegra_car TEGRA30_CLK_I2S0>;
64        resets = <&tegra_car 30>;
65        reset-names = "i2s";
66    };
67...
68