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