All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] media: dt-bindings: media: renesas,drif: Fix a dt_binding_check warning
@ 2021-05-20 11:49 Zhen Lei
  2021-06-04  3:15 ` Leizhen (ThunderTown)
  2021-06-04  8:54 ` Fabrizio Castro
  0 siblings, 2 replies; 3+ messages in thread
From: Zhen Lei @ 2021-05-20 11:49 UTC (permalink / raw
  To: Fabrizio Castro, Mauro Carvalho Chehab, Rob Herring,
	Ramesh Shanmugasundaram, linux-media, linux-renesas-soc,
	devicetree
  Cc: Zhen Lei

The value of the property 'clock-names' is a constant string, so the
'maxItems: 1' is not needed, should be removed. Otherwise, the following
warning is reported:
properties:clock-names:maxItems: False schema does not allow 1
ignoring, error in schema: properties: clock-names: maxItems
warning: no schema found in file: xxx/bindings/media/renesas,drif.yaml

Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
---
 Documentation/devicetree/bindings/media/renesas,drif.yaml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/media/renesas,drif.yaml b/Documentation/devicetree/bindings/media/renesas,drif.yaml
index f1bdaeab4053..b7f07062922f 100644
--- a/Documentation/devicetree/bindings/media/renesas,drif.yaml
+++ b/Documentation/devicetree/bindings/media/renesas,drif.yaml
@@ -67,7 +67,6 @@ properties:
     maxItems: 1
 
   clock-names:
-    maxItems: 1
     items:
       - const: fck
 
-- 
2.21.1



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

* Re: [PATCH 1/1] media: dt-bindings: media: renesas,drif: Fix a dt_binding_check warning
  2021-05-20 11:49 [PATCH 1/1] media: dt-bindings: media: renesas,drif: Fix a dt_binding_check warning Zhen Lei
@ 2021-06-04  3:15 ` Leizhen (ThunderTown)
  2021-06-04  8:54 ` Fabrizio Castro
  1 sibling, 0 replies; 3+ messages in thread
From: Leizhen (ThunderTown) @ 2021-06-04  3:15 UTC (permalink / raw
  To: Fabrizio Castro, Mauro Carvalho Chehab, Rob Herring,
	Ramesh Shanmugasundaram, linux-media, linux-renesas-soc,
	devicetree

Hi all:
  Can someone review this patch?


On 2021/5/20 19:49, Zhen Lei wrote:
> The value of the property 'clock-names' is a constant string, so the
> 'maxItems: 1' is not needed, should be removed. Otherwise, the following
> warning is reported:
> properties:clock-names:maxItems: False schema does not allow 1
> ignoring, error in schema: properties: clock-names: maxItems
> warning: no schema found in file: xxx/bindings/media/renesas,drif.yaml
> 
> Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
> ---
>  Documentation/devicetree/bindings/media/renesas,drif.yaml | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/media/renesas,drif.yaml b/Documentation/devicetree/bindings/media/renesas,drif.yaml
> index f1bdaeab4053..b7f07062922f 100644
> --- a/Documentation/devicetree/bindings/media/renesas,drif.yaml
> +++ b/Documentation/devicetree/bindings/media/renesas,drif.yaml
> @@ -67,7 +67,6 @@ properties:
>      maxItems: 1
>  
>    clock-names:
> -    maxItems: 1
>      items:
>        - const: fck
>  
> 


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

* RE: [PATCH 1/1] media: dt-bindings: media: renesas,drif: Fix a dt_binding_check warning
  2021-05-20 11:49 [PATCH 1/1] media: dt-bindings: media: renesas,drif: Fix a dt_binding_check warning Zhen Lei
  2021-06-04  3:15 ` Leizhen (ThunderTown)
@ 2021-06-04  8:54 ` Fabrizio Castro
  1 sibling, 0 replies; 3+ messages in thread
From: Fabrizio Castro @ 2021-06-04  8:54 UTC (permalink / raw
  To: Zhen Lei, Mauro Carvalho Chehab, Rob Herring,
	Ramesh Shanmugasundaram, linux-media, linux-renesas-soc,
	devicetree

Hi Zhen,

Thanks for your patch!

> From: Zhen Lei <thunder.leizhen@huawei.com>
> Sent: 20 May 2021 12:50
> Subject: [PATCH 1/1] media: dt-bindings: media: renesas,drif: Fix a
> dt_binding_check warning
> 
> The value of the property 'clock-names' is a constant string, so the
> 'maxItems: 1' is not needed, should be removed. Otherwise, the following
> warning is reported:
> properties:clock-names:maxItems: False schema does not allow 1
> ignoring, error in schema: properties: clock-names: maxItems
> warning: no schema found in file: xxx/bindings/media/renesas,drif.yaml

A similar fix was sent and accepted a while ago, please see:
https://lkml.org/lkml/2021/4/8/1329

Best regards,
Fab

> 
> Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
> ---
>  Documentation/devicetree/bindings/media/renesas,drif.yaml | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/media/renesas,drif.yaml
> b/Documentation/devicetree/bindings/media/renesas,drif.yaml
> index f1bdaeab4053..b7f07062922f 100644
> --- a/Documentation/devicetree/bindings/media/renesas,drif.yaml
> +++ b/Documentation/devicetree/bindings/media/renesas,drif.yaml
> @@ -67,7 +67,6 @@ properties:
>      maxItems: 1
> 
>    clock-names:
> -    maxItems: 1
>      items:
>        - const: fck
> 
> --
> 2.21.1
> 


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

end of thread, other threads:[~2021-06-04  8:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-20 11:49 [PATCH 1/1] media: dt-bindings: media: renesas,drif: Fix a dt_binding_check warning Zhen Lei
2021-06-04  3:15 ` Leizhen (ThunderTown)
2021-06-04  8:54 ` Fabrizio Castro

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.