dt-bindings: Document Tegra234 HDA support
authorMohan Kumar <mkumard@nvidia.com>
Wed, 16 Feb 2022 09:22:39 +0000 (14:52 +0530)
committerTakashi Iwai <tiwai@suse.de>
Mon, 21 Feb 2022 10:03:38 +0000 (11:03 +0100)
Update binding document for HDA support on Tegra234 chip.

Tegra234 has max of 2 clocks and 2 resets which requires to add
minItems and maxItems for clocks and resets as Tegra chips can
now have minimum of 2 and maximum of 3 clocks and reset support.

Signed-off-by: Mohan Kumar <mkumard@nvidia.com>
Link: https://lore.kernel.org/r/20220216092240.26464-6-mkumard@nvidia.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Documentation/devicetree/bindings/sound/nvidia,tegra30-hda.yaml

index 2c913aa44fee6d93206bc9d708b532e0fb2cc08c..12c31b4b99e1808d3d1f8935d1a66db2abb7271c 100644 (file)
@@ -23,6 +23,7 @@ properties:
       - const: nvidia,tegra30-hda
       - items:
           - enum:
+              - nvidia,tegra234-hda
               - nvidia,tegra194-hda
               - nvidia,tegra186-hda
               - nvidia,tegra210-hda
@@ -41,9 +42,11 @@ properties:
     maxItems: 1
 
   clocks:
+    minItems: 2
     maxItems: 3
 
   clock-names:
+    minItems: 2
     items:
       - const: hda
       - const: hda2hdmi