diff mbox series

[1/5] dt-bindings: nvmem: mxs-ocotp: drop unneeded address/size-cells

Message ID 20230505120814.1057152-1-krzysztof.kozlowski@linaro.org
State Accepted
Commit 619b14219ff6f30bd583965d75396157d6c0282b
Headers show
Series [1/5] dt-bindings: nvmem: mxs-ocotp: drop unneeded address/size-cells | expand

Commit Message

Krzysztof Kozlowski May 5, 2023, 12:08 p.m. UTC
Referenced nvmem.yaml schema already defines address/size-cells, so
remove redundant entries and use unevaluatedProperties: false.

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

---

Cc: Peng Fan (OSS) <peng.fan@oss.nxp.com>
---
 Documentation/devicetree/bindings/nvmem/mxs-ocotp.yaml | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

Comments

Srinivas Kandagatla May 12, 2023, 11:25 a.m. UTC | #1
On Fri, 05 May 2023 14:08:10 +0200, Krzysztof Kozlowski wrote:
> Referenced nvmem.yaml schema already defines address/size-cells, so
> remove redundant entries and use unevaluatedProperties: false.
> 
> 

Applied, thanks!

[1/5] dt-bindings: nvmem: mxs-ocotp: drop unneeded address/size-cells
      commit: 6c1eb69485752935580226a2e39d366625d0fc2a
[2/5] dt-bindings: nvmem: qcom,qfprom: drop unneeded address/size-cells
      commit: 426b30ed585c09b9bc6c3d615ed264b2f8d6c56c
[3/5] dt-bindings: nvmem: qcom,spmi-sdam: drop unneeded address/size-cells
      commit: 2881bbe70740e663ab29ce7da80d5fb0b9cd9518
[4/5] dt-bindings: nvmem: socionext,uniphier-efuse: drop unneeded address/size-cells
      commit: bb7a2f40d77337d9fc5a6e0bf12cc89620b62241
[5/5] dt-bindings: nvmem: sunplus,sp7021-ocotp: drop unneeded address/size-cells
      commit: 103066fdb0dedd2dcccd1e0fa4255b9b46b46be5

Best regards,
diff mbox series

Patch

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:
   - |