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

From: Srinivas Kandagatla
Date: Sun Jun 11 2023 - 10:05:45 EST


From: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>

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

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
Reviewed-by: Peng Fan <peng.fan@xxxxxxx>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@xxxxxxxxxx>
---
.../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