mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: reset: Add parent "resets" property as optional
@ 2022-03-28  1:24 Kunihiko Hayashi
  2022-03-28 19:07 ` Krzysztof Kozlowski
  0 siblings, 1 reply; 2+ messages in thread
From: Kunihiko Hayashi @ 2022-03-28  1:24 UTC (permalink / raw)
  To: Philipp Zabel, Rob Herring, Krzysztof Kozlowski
  Cc: Masami Hiramatsu, devicetree, linux-arm-kernel, linux-kernel,
	Kunihiko Hayashi

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>
---
 .../devicetree/bindings/reset/socionext,uniphier-reset.yaml    | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/reset/socionext,uniphier-reset.yaml b/Documentation/devicetree/bindings/reset/socionext,uniphier-reset.yaml
index 377a7d242323..f2a848c74f1e 100644
--- a/Documentation/devicetree/bindings/reset/socionext,uniphier-reset.yaml
+++ b/Documentation/devicetree/bindings/reset/socionext,uniphier-reset.yaml
@@ -55,6 +55,9 @@ properties:
   "#reset-cells":
     const: 1
 
+  resets:
+    minItems: 1
+
 additionalProperties: false
 
 required:
-- 
2.25.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] dt-bindings: reset: Add parent "resets" property as optional
  2022-03-28  1:24 [PATCH] dt-bindings: reset: Add parent "resets" property as optional Kunihiko Hayashi
@ 2022-03-28 19:07 ` Krzysztof Kozlowski
  0 siblings, 0 replies; 2+ messages in thread
From: Krzysztof Kozlowski @ 2022-03-28 19:07 UTC (permalink / raw)
  To: Kunihiko Hayashi, Philipp Zabel, Rob Herring, Krzysztof Kozlowski
  Cc: Masami Hiramatsu, devicetree, linux-arm-kernel, linux-kernel

On 28/03/2022 03:24, Kunihiko Hayashi wrote:
> 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>
> ---
>  .../devicetree/bindings/reset/socionext,uniphier-reset.yaml    | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/reset/socionext,uniphier-reset.yaml b/Documentation/devicetree/bindings/reset/socionext,uniphier-reset.yaml
> index 377a7d242323..f2a848c74f1e 100644
> --- a/Documentation/devicetree/bindings/reset/socionext,uniphier-reset.yaml
> +++ b/Documentation/devicetree/bindings/reset/socionext,uniphier-reset.yaml
> @@ -55,6 +55,9 @@ properties:
>    "#reset-cells":
>      const: 1
>  
> +  resets:
> +    minItems: 1

maxItems

> +
>  additionalProperties: false
>  
>  required:


Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-03-28 19:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-28  1:24 [PATCH] dt-bindings: reset: Add parent "resets" property as optional Kunihiko Hayashi
2022-03-28 19:07 ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®