~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/sound/nvidia,tegra210-i2s.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  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,tegra210-i2s.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: Tegra210 I2S Controller
  8 
  9 description: |
 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.
 14 
 15 maintainers:
 16   - Jon Hunter <jonathanh@nvidia.com>
 17   - Sameer Pujar <spujar@nvidia.com>
 18 
 19 allOf:
 20   - $ref: dai-common.yaml#
 21 
 22 properties:
 23   $nodename:
 24     pattern: "^i2s@[0-9a-f]*$"
 25 
 26   compatible:
 27     oneOf:
 28       - const: nvidia,tegra210-i2s
 29       - items:
 30           - enum:
 31               - nvidia,tegra234-i2s
 32               - nvidia,tegra194-i2s
 33               - nvidia,tegra186-i2s
 34           - const: nvidia,tegra210-i2s
 35 
 36   reg:
 37     maxItems: 1
 38 
 39   clocks:
 40     minItems: 1
 41     items:
 42       - description: I2S bit clock
 43       - description:
 44           Sync input clock, which can act as clock source to other I/O
 45           modules in AHUB. The Tegra I2S driver sets this clock rate as
 46           per bit clock rate. I/O module which wants to use this clock
 47           as source, can mention this clock as parent in the DT bindings.
 48           This is an optional clock entry, since it is only required when
 49           some other I/O wants to reference from a particular I2Sx
 50           instance.
 51 
 52   clock-names:
 53     minItems: 1
 54     items:
 55       - const: i2s
 56       - const: sync_input
 57 
 58   assigned-clocks:
 59     minItems: 1
 60     maxItems: 2
 61 
 62   assigned-clock-parents:
 63     minItems: 1
 64     maxItems: 2
 65 
 66   assigned-clock-rates:
 67     minItems: 1
 68     maxItems: 2
 69 
 70   sound-name-prefix:
 71     pattern: "^I2S[1-9]$"
 72 
 73   ports:
 74     $ref: /schemas/graph.yaml#/properties/ports
 75     properties:
 76       port@0:
 77         $ref: audio-graph-port.yaml#
 78         unevaluatedProperties: false
 79         description: |
 80           I2S ACIF (Audio Client Interface) port connected to the
 81           corresponding AHUB (Audio Hub) ACIF port.
 82 
 83       port@1:
 84         $ref: audio-graph-port.yaml#
 85         unevaluatedProperties: false
 86         description: |
 87           I2S DAP (Digital Audio Port) interface which can be connected
 88           to external audio codec for playback or capture.
 89 
 90 required:
 91   - compatible
 92   - reg
 93   - clocks
 94   - clock-names
 95   - assigned-clocks
 96   - assigned-clock-parents
 97 
 98 additionalProperties: false
 99 
100 examples:
101   - |
102     #include<dt-bindings/clock/tegra210-car.h>
103 
104     i2s@702d1000 {
105         compatible = "nvidia,tegra210-i2s";
106         reg = <0x702d1000 0x100>;
107         clocks = <&tegra_car TEGRA210_CLK_I2S0>;
108         clock-names = "i2s";
109         assigned-clocks = <&tegra_car TEGRA210_CLK_I2S0>;
110         assigned-clock-parents = <&tegra_car TEGRA210_CLK_PLL_A_OUT0>;
111         assigned-clock-rates = <1536000>;
112         sound-name-prefix = "I2S1";
113     };
114 
115 ...

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php