Commit c5330723 authored by Rafał Miłecki's avatar Rafał Miłecki Committed by Greg Kroah-Hartman
Browse files

dt-bindings: nvmem: move deprecated cells binding to its own file



Support for old NVMEM fixed cells was deprecated in favour of
"fixed-layout". It's still part of the nvmem.yaml though and may be
unknowingly used by new bindings added without much of analyze.

To make it more difficult to accidentally support old syntax move its
binding to separated file with "deprecated" in its name.

Signed-off-by: default avatarRafał Miłecki <rafal@milecki.pl>
Acked-by: default avatarNeil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Acked-by: default avatarHeiko Stuebner <heiko@sntech.de>
Signed-off-by: default avatarSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20231020105545.216052-4-srinivas.kandagatla@linaro.org


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2cc3b37f
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -43,7 +43,12 @@ patternProperties:
    deprecated: true

  "^otp(-[0-9]+)?$":
    $ref: ../nvmem/nvmem.yaml#
    type: object

    allOf:
      - $ref: ../nvmem/nvmem.yaml#
      - $ref: ../nvmem/nvmem-deprecated-cells.yaml#

    unevaluatedProperties: false

    description: |
+1 −0
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@ maintainers:
allOf:
  - $ref: /schemas/mtd/partitions/partition.yaml#
  - $ref: /schemas/nvmem/nvmem.yaml#
  - $ref: /schemas/nvmem/nvmem-deprecated-cells.yaml#

properties:
  compatible:
+1 −0
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@ maintainers:

allOf:
  - $ref: nvmem.yaml#
  - $ref: nvmem-deprecated-cells.yaml#

properties:
  compatible:
+1 −0
Original line number Diff line number Diff line
@@ -12,6 +12,7 @@ maintainers:

allOf:
  - $ref: nvmem.yaml#
  - $ref: nvmem-deprecated-cells.yaml#

properties:
  compatible:
+1 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@ maintainers:

allOf:
  - $ref: nvmem.yaml#
  - $ref: nvmem-deprecated-cells.yaml#

properties:
  compatible:
Loading