Skip to content

Commit

Permalink
dt-bindings: reset: Add parent "resets" property as optional
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Kunihiko Hayashi authored and Philipp Zabel committed Apr 4, 2022
1 parent d1da105 commit 03cb664
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ properties:
"#reset-cells":
const: 1

resets:
maxItems: 1

additionalProperties: false

required:
Expand Down

0 comments on commit 03cb664

Please sign in to comment.