2023-05-06 06:46:31

by Krzysztof Kozlowski

[permalink] [raw]
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 <[email protected]>

---

Cc: Peng Fan <[email protected]>
---
.../devicetree/bindings/nvmem/imx-ocotp.yaml | 21 -------------------
1 file changed, 21 deletions(-)

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


2023-06-08 16:32:04

by Rob Herring (Arm)

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: nvmem: imx-ocotp: drop unneeded address/size-cells and children

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 <[email protected]>
>
> ---
>
> Cc: Peng Fan <[email protected]>
> ---
> .../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
>

2023-06-08 17:27:13

by Srinivas Kandagatla

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: nvmem: imx-ocotp: drop unneeded address/size-cells and children


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,
--
Srinivas Kandagatla <[email protected]>