1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/sound/nvidia,tegra210-i2s.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Tegra210 I2S Controller Device Tree Bindings
10 The Inter-IC Sound (I2S) controller implements full-duplex,
11 bi-directional and single direction point-to-point serial
12 interfaces. It can interface with I2S compatible devices.
13 I2S controller can operate both in master and slave mode.
16 - Jon Hunter <jonathanh@nvidia.com>
17 - Sameer Pujar <spujar@nvidia.com>
21 pattern: "^i2s@[0-9a-f]*$"
25 - const: nvidia,tegra210-i2s
30 - const: nvidia,tegra210-i2s
38 - description: I2S bit clock
40 Sync input clock, which can act as clock source to other I/O
41 modules in AHUB. The Tegra I2S driver sets this clock rate as
42 per bit clock rate. I/O module which wants to use this clock
43 as source, can mention this clock as parent in the DT bindings.
44 This is an optional clock entry, since it is only required when
45 some other I/O wants to reference from a particular I2Sx
58 assigned-clock-parents:
68 $ref: /schemas/types.yaml#/definitions/string
70 Used as prefix for sink/source names of the component. Must be a
71 unique string among multiple instances of the same component.
72 The name can be "I2S1" or "I2S2" ... "I2Sx", where x depends
73 on the maximum available instances on a Tegra SoC.
76 $ref: /schemas/graph.yaml#/properties/ports
79 $ref: audio-graph-port.yaml#
80 unevaluatedProperties: false
82 I2S ACIF (Audio Client Interface) port connected to the
83 corresponding AHUB (Audio Hub) ACIF port.
86 $ref: audio-graph-port.yaml#
87 unevaluatedProperties: false
89 I2S DAP (Digital Audio Port) interface which can be connected
90 to external audio codec for playback or capture.
98 - assigned-clock-parents
100 additionalProperties: false
104 #include<dt-bindings/clock/tegra210-car.h>
107 compatible = "nvidia,tegra210-i2s";
108 reg = <0x702d1000 0x100>;
109 clocks = <&tegra_car TEGRA210_CLK_I2S0>;
111 assigned-clocks = <&tegra_car TEGRA210_CLK_I2S0>;
112 assigned-clock-parents = <&tegra_car TEGRA210_CLK_PLL_A_OUT0>;
113 assigned-clock-rates = <1536000>;
114 sound-name-prefix = "I2S1";