diff options
author | Sameer Pujar <spujar@nvidia.com> | 2021-09-03 19:35:18 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-09-13 03:47:09 +0300 |
commit | 82d3ec1d89fa2750fdc74e2f29c6c7ff673a2768 (patch) | |
tree | df337d6d41fd549df5869fbf1b1edd470d3b5bf7 /Documentation/devicetree/bindings/sound/nvidia,tegra210-i2s.yaml | |
parent | 7f826da8e924bae7dd56b99e3760514017ca51a3 (diff) | |
download | linux-82d3ec1d89fa2750fdc74e2f29c6c7ff673a2768.tar.xz |
ASoC: Use schema reference for sound-name-prefix
Use schema reference for 'sound-name-prefix' property wherever
necessary.
Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Cc: Jerome Brunet <jbrunet@baylibre.com>
Cc: Stephan Gerhold <stephan@gerhold.net>
Cc: Rob Herring <robh+dt@kernel.org>
Reviewed-by: Jerome Brunet <jbrunet@baylibre.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/1630686919-19495-3-git-send-email-spujar@nvidia.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/nvidia,tegra210-i2s.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/sound/nvidia,tegra210-i2s.yaml | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/Documentation/devicetree/bindings/sound/nvidia,tegra210-i2s.yaml b/Documentation/devicetree/bindings/sound/nvidia,tegra210-i2s.yaml index 63370709c768..f954be636697 100644 --- a/Documentation/devicetree/bindings/sound/nvidia,tegra210-i2s.yaml +++ b/Documentation/devicetree/bindings/sound/nvidia,tegra210-i2s.yaml @@ -16,6 +16,9 @@ maintainers: - Jon Hunter <jonathanh@nvidia.com> - Sameer Pujar <spujar@nvidia.com> +allOf: + - $ref: name-prefix.yaml# + properties: $nodename: pattern: "^i2s@[0-9a-f]*$" @@ -65,12 +68,6 @@ properties: sound-name-prefix: pattern: "^I2S[1-9]$" - $ref: /schemas/types.yaml#/definitions/string - description: - Used as prefix for sink/source names of the component. Must be a - unique string among multiple instances of the same component. - The name can be "I2S1" or "I2S2" ... "I2Sx", where x depends - on the maximum available instances on a Tegra SoC. ports: $ref: /schemas/graph.yaml#/properties/ports |