2023-06-11 14:57:58

by Srinivas Kandagatla

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

From: Krzysztof Kozlowski <[email protected]>

Referenced nvmem.yaml schema already defines address/size-cells and its
children, so remove redundant entries.

Signed-off-by: Krzysztof Kozlowski <[email protected]>
Reviewed-by: Peng Fan <[email protected]>
Signed-off-by: Srinivas Kandagatla <[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 7112d13c9bff..99e60d713dac 100644
--- a/Documentation/devicetree/bindings/nvmem/imx-ocotp.yaml
+++ b/Documentation/devicetree/bindings/nvmem/imx-ocotp.yaml
@@ -47,12 +47,6 @@ properties:
reg:
maxItems: 1

- "#address-cells":
- const: 1
-
- "#size-cells":
- const: 1
-
clocks:
maxItems: 1

@@ -62,21 +56,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.25.1