dt-bindings: sound: tegra: Add minItems for resets
authorSameer Pujar <spujar@nvidia.com>
Thu, 23 Dec 2021 11:53:50 +0000 (17:23 +0530)
committerTakashi Iwai <tiwai@suse.de>
Sat, 1 Jan 2022 15:46:25 +0000 (16:46 +0100)
Tegra194 HDA has only two resets unlike the previous generations of
Tegra SoCs. To take care of this set minItems field to two.

Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Link: https://lore.kernel.org/r/1640260431-11613-3-git-send-email-spujar@nvidia.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Documentation/devicetree/bindings/sound/nvidia,tegra30-hda.yaml

index b55775e..2c913aa 100644 (file)
@@ -50,9 +50,11 @@ properties:
       - const: hda2codec_2x
 
   resets:
+    minItems: 2
     maxItems: 3
 
   reset-names:
+    minItems: 2
     items:
       - const: hda
       - const: hda2hdmi