Commit 36ecc834 authored by Clément Le Goffic's avatar Clément Le Goffic Committed by Krzysztof Kozlowski
Browse files

dt-bindings: memory: add DDR4 channel compatible



Add in the memory channel binding the DDR4 compatible to support DDR4
memory channel.

Signed-off-by: default avatarClément Le Goffic <clement.legoffic@foss.st.com>
Reviewed-by: default avatarRob Herring (Arm) <robh@kernel.org>
Signed-off-by: default avatarClément Le Goffic <legoffic.clement@gmail.com>
Link: https://patch.msgid.link/20251118-b4-ddr-bindings-v9-4-a033ac5144da@gmail.com


Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
parent 6ab3581a
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@ maintainers:
properties:
  compatible:
    enum:
      - jedec,ddr4-channel
      - jedec,lpddr2-channel
      - jedec,lpddr3-channel
      - jedec,lpddr4-channel
@@ -61,6 +62,15 @@ patternProperties:
      - reg

allOf:
  - if:
      properties:
        compatible:
          contains:
            const: jedec,ddr4-channel
    then:
      patternProperties:
        "^rank@[0-9]+$":
          $ref: /schemas/memory-controllers/ddr/jedec,ddr4.yaml#
  - if:
      properties:
        compatible: