2023-06-11 14:32:33

by Srinivas Kandagatla

[permalink] [raw]
Subject: [PATCH 14/26] dt-bindings: nvmem: mxs-ocotp: drop unneeded address/size-cells

From: Krzysztof Kozlowski <[email protected]>

Referenced nvmem.yaml schema already defines address/size-cells, so
remove redundant entries and use unevaluatedProperties: false.

Signed-off-by: Krzysztof Kozlowski <[email protected]>
Signed-off-by: Srinivas Kandagatla <[email protected]>
---
Documentation/devicetree/bindings/nvmem/mxs-ocotp.yaml | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/Documentation/devicetree/bindings/nvmem/mxs-ocotp.yaml b/Documentation/devicetree/bindings/nvmem/mxs-ocotp.yaml
index 8938eec22b52..a9b822aeaa7e 100644
--- a/Documentation/devicetree/bindings/nvmem/mxs-ocotp.yaml
+++ b/Documentation/devicetree/bindings/nvmem/mxs-ocotp.yaml
@@ -18,12 +18,6 @@ properties:
- fsl,imx23-ocotp
- fsl,imx28-ocotp

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

@@ -35,7 +29,7 @@ required:
- reg
- clocks

-additionalProperties: false
+unevaluatedProperties: false

examples:
- |
--
2.25.1