[PATCH v4 2/3] dt-bindings: sound: tegra: Add minItems for resets

Sameer Pujar
2021-12-23T11:54:11Z

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>
---
Documentation/devicetree/bindings/sound/nvidia,tegra30-hda.yaml | 2 ++
1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/sound/nvidia,tegra30-hda.yaml b/Documentation/devicetree/bindings/sound/nvidia,tegra30-hda.yaml
index b55775e..2c913aa 100644
--- a/Documentation/devicetree/bindings/sound/nvidia,tegra30-hda.yaml
+++ b/Documentation/devicetree/bindings/sound/nvidia,tegra30-hda.yaml
@@ -50,9 +50,11 @@ properties:
- const: hda2codec_2x

resets:
+ minItems: 2
maxItems: 3

reset-names:
+ minItems: 2
items:
- const: hda
- const: hda2hdmi
--
2.7.4