dt-bindings: reset: Add parent "resets" property as optional
authorKunihiko Hayashi <hayashi.kunihiko@socionext.com>
Wed, 30 Mar 2022 05:11:18 +0000 (14:11 +0900)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 4 Apr 2022 09:35:29 +0000 (11:35 +0200)
LD11 mio reset controller has a reset lines from system controller.
Add parent "resets" property to fix the following warning.

  uniphier-ld11-global.dt.yaml: reset: 'resets' does not match any of the regexes: 'pinctrl-[0-9]+'
      From schema: Documentation/devicetree/bindings/reset/socionext,uniphier-reset.yaml

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Link: https://lore.kernel.org/r/1648617078-8312-1-git-send-email-hayashi.kunihiko@socionext.com
Documentation/devicetree/bindings/reset/socionext,uniphier-reset.yaml

index 377a7d242323d01fd1e1963c067c2d515d331307..6566804ec5674354cd1f5330a8031dcb658b5cc7 100644 (file)
@@ -55,6 +55,9 @@ properties:
   "#reset-cells":
     const: 1
 
+  resets:
+    maxItems: 1
+
 additionalProperties: false
 
 required: