diff mbox series

dt-bindings: nvmem: imx-ocotp: drop unneeded address/size-cells and children

Message ID 20230506064128.34005-1-krzysztof.kozlowski@linaro.org
State Not Applicable, archived
Headers show
Series dt-bindings: nvmem: imx-ocotp: drop unneeded address/size-cells and children | expand

Checks

Context Check Description
robh/dt-meta-schema success
robh/checkpatch success
robh/patch-applied success
robh/dtbs-check warning build log

Commit Message

Krzysztof Kozlowski May 6, 2023, 6:41 a.m. UTC
Referenced nvmem.yaml schema already defines address/size-cells and its
children, so remove redundant entries.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

---

Cc: Peng Fan <peng.fan@nxp.com>
---
 .../devicetree/bindings/nvmem/imx-ocotp.yaml  | 21 -------------------
 1 file changed, 21 deletions(-)

Comments

Peng Fan May 6, 2023, 6:42 a.m. UTC | #1
> Subject: [PATCH] dt-bindings: nvmem: imx-ocotp: drop unneeded
> address/size-cells and children
> 
> Referenced nvmem.yaml schema already defines address/size-cells and its
> children, so remove redundant entries.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Reviewed-by: Peng Fan <peng.fan@nxp.com>
Rob Herring (Arm) June 8, 2023, 4:11 p.m. UTC | #2
On Sat, May 06, 2023 at 08:41:28AM +0200, Krzysztof Kozlowski wrote:
> Referenced nvmem.yaml schema already defines address/size-cells and its
> children, so remove redundant entries.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> 
> ---
> 
> Cc: Peng Fan <peng.fan@nxp.com>
> ---
>  .../devicetree/bindings/nvmem/imx-ocotp.yaml  | 21 -------------------
>  1 file changed, 21 deletions(-)

Srinivas, going to pick this up?

> 
> diff --git a/Documentation/devicetree/bindings/nvmem/imx-ocotp.yaml b/Documentation/devicetree/bindings/nvmem/imx-ocotp.yaml
> index 9876243ff1e8..0784d71ae8f9 100644
> --- a/Documentation/devicetree/bindings/nvmem/imx-ocotp.yaml
> +++ b/Documentation/devicetree/bindings/nvmem/imx-ocotp.yaml
> @@ -46,12 +46,6 @@ properties:
>    reg:
>      maxItems: 1
>  
> -  "#address-cells":
> -    const: 1
> -
> -  "#size-cells":
> -    const: 1
> -
>    clocks:
>      maxItems: 1
>  
> @@ -61,21 +55,6 @@ required:
>    - compatible
>    - reg
>  
> -patternProperties:
> -  "^.*@[0-9a-f]+$":
> -    type: object
> -
> -    properties:
> -      reg:
> -        maxItems: 1
> -        description:
> -          Offset and size in bytes within the storage device.
> -
> -    required:
> -      - reg
> -
> -    additionalProperties: false
> -
>  unevaluatedProperties: false
>  
>  examples:
> -- 
> 2.34.1
>
Srinivas Kandagatla June 8, 2023, 5:09 p.m. UTC | #3
On Sat, 06 May 2023 08:41:28 +0200, Krzysztof Kozlowski wrote:
> Referenced nvmem.yaml schema already defines address/size-cells and its
> children, so remove redundant entries.
> 
> 

Applied, thanks!

[1/1] dt-bindings: nvmem: imx-ocotp: drop unneeded address/size-cells and children
      commit: 4a43546dbd0b15fc21994a95ab565721f24c59d0

Best regards,
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/nvmem/imx-ocotp.yaml b/Documentation/devicetree/bindings/nvmem/imx-ocotp.yaml
index 9876243ff1e8..0784d71ae8f9 100644
--- a/Documentation/devicetree/bindings/nvmem/imx-ocotp.yaml
+++ b/Documentation/devicetree/bindings/nvmem/imx-ocotp.yaml
@@ -46,12 +46,6 @@  properties:
   reg:
     maxItems: 1
 
-  "#address-cells":
-    const: 1
-
-  "#size-cells":
-    const: 1
-
   clocks:
     maxItems: 1
 
@@ -61,21 +55,6 @@  required:
   - compatible
   - reg
 
-patternProperties:
-  "^.*@[0-9a-f]+$":
-    type: object
-
-    properties:
-      reg:
-        maxItems: 1
-        description:
-          Offset and size in bytes within the storage device.
-
-    required:
-      - reg
-
-    additionalProperties: false
-
 unevaluatedProperties: false
 
 examples: