[PATCH v3 08/19] dt-binding: memory: add DDR4 channel compatible

Clément Le Goffic clement.legoffic at foss.st.com
Tue Jul 22 07:03:25 PDT 2025


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

Signed-off-by: Clément Le Goffic <clement.legoffic at foss.st.com>
---
 .../bindings/memory-controllers/ddr/jedec,memory-channel.yaml  | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/Documentation/devicetree/bindings/memory-controllers/ddr/jedec,memory-channel.yaml b/Documentation/devicetree/bindings/memory-controllers/ddr/jedec,memory-channel.yaml
index 3bf3a63466eb..03252d97ac38 100644
--- a/Documentation/devicetree/bindings/memory-controllers/ddr/jedec,memory-channel.yaml
+++ b/Documentation/devicetree/bindings/memory-controllers/ddr/jedec,memory-channel.yaml
@@ -18,6 +18,7 @@ maintainers:
 properties:
   compatible:
     enum:
+      - jedec,ddr4-channel
       - jedec,lpddr2-channel
       - jedec,lpddr3-channel
       - jedec,lpddr4-channel
@@ -60,6 +61,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:

-- 
2.43.0




More information about the linux-arm-kernel mailing list