Tom Rini | 762f85b | 2024-07-20 11:15:10 -0600 | [diff] [blame] | 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 | |
| 7 | title: NVIDIA Tegra30 I2S controller |
| 8 | |
| 9 | maintainers: |
| 10 | - Thierry Reding <treding@nvidia.com> |
| 11 | - Jon Hunter <jonathanh@nvidia.com> |
| 12 | |
| 13 | properties: |
| 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 | |
| 45 | required: |
| 46 | - compatible |
| 47 | - reg |
| 48 | - clocks |
| 49 | - resets |
| 50 | - reset-names |
| 51 | - nvidia,ahub-cif-ids |
| 52 | |
| 53 | additionalProperties: false |
| 54 | |
| 55 | examples: |
| 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 | ... |