diff mbox series

[4/5] dt-bindings: ufs: ti: Add missing 'additionalProperties: false'

Message ID 20200512204543.22090-4-robh@kernel.org (mailing list archive)
State Mainlined
Commit 1195b303a661f1dcfc5f97b6504d7d22a46289bc
Headers show
Series [1/5] spi: dt-bindings: sifive: Add missing 2nd register region | expand

Commit Message

Rob Herring May 12, 2020, 8:45 p.m. UTC
The ti,j721e-ufs schema is missing an 'additionalProperties: false'. Add
that and and the missing assigned-clock properties.

Cc: Vignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: Rob Herring <robh@kernel.org>
---
 Documentation/devicetree/bindings/ufs/ti,j721e-ufs.yaml | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Vignesh Raghavendra May 13, 2020, 7:49 a.m. UTC | #1
On 13/05/20 2:15 am, Rob Herring wrote:
> The ti,j721e-ufs schema is missing an 'additionalProperties: false'. Add
> that and and the missing assigned-clock properties.
> 
> Cc: Vignesh Raghavendra <vigneshr@ti.com>
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---


Acked-by: Vignesh Raghavendra <vigneshr@ti.com>

Regards
Vignesh

>  Documentation/devicetree/bindings/ufs/ti,j721e-ufs.yaml | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/ufs/ti,j721e-ufs.yaml b/Documentation/devicetree/bindings/ufs/ti,j721e-ufs.yaml
> index b503b1a918a5..4d13e6bc1c50 100644
> --- a/Documentation/devicetree/bindings/ufs/ti,j721e-ufs.yaml
> +++ b/Documentation/devicetree/bindings/ufs/ti,j721e-ufs.yaml
> @@ -25,6 +25,12 @@ properties:
>    power-domains:
>      maxItems: 1
>  
> +  assigned-clocks:
> +    maxItems: 1
> +
> +  assigned-clock-parents:
> +    maxItems: 1
> +
>    "#address-cells":
>      const: 2
>  
> @@ -47,6 +53,8 @@ patternProperties:
>        Documentation/devicetree/bindings/ufs/cdns,ufshc.txt for binding
>        documentation of child node
>  
> +additionalProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/interrupt-controller/irq.h>
>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/ufs/ti,j721e-ufs.yaml b/Documentation/devicetree/bindings/ufs/ti,j721e-ufs.yaml
index b503b1a918a5..4d13e6bc1c50 100644
--- a/Documentation/devicetree/bindings/ufs/ti,j721e-ufs.yaml
+++ b/Documentation/devicetree/bindings/ufs/ti,j721e-ufs.yaml
@@ -25,6 +25,12 @@  properties:
   power-domains:
     maxItems: 1
 
+  assigned-clocks:
+    maxItems: 1
+
+  assigned-clock-parents:
+    maxItems: 1
+
   "#address-cells":
     const: 2
 
@@ -47,6 +53,8 @@  patternProperties:
       Documentation/devicetree/bindings/ufs/cdns,ufshc.txt for binding
       documentation of child node
 
+additionalProperties: false
+
 examples:
   - |
     #include <dt-bindings/interrupt-controller/irq.h>