Skip to content

Commit 36ecc83

Browse files
clegoffickrzk
authored andcommitted
dt-bindings: memory: add DDR4 channel compatible
Add in the memory channel binding the DDR4 compatible to support DDR4 memory channel. Signed-off-by: Clément Le Goffic <clement.legoffic@foss.st.com> Reviewed-by: Rob Herring (Arm) <robh@kernel.org> Signed-off-by: Clément Le Goffic <legoffic.clement@gmail.com> Link: https://patch.msgid.link/20251118-b4-ddr-bindings-v9-4-a033ac5144da@gmail.com Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
1 parent 6ab3581 commit 36ecc83

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

Documentation/devicetree/bindings/memory-controllers/ddr/jedec,sdram-channel.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ maintainers:
1919
properties:
2020
compatible:
2121
enum:
22+
- jedec,ddr4-channel
2223
- jedec,lpddr2-channel
2324
- jedec,lpddr3-channel
2425
- jedec,lpddr4-channel
@@ -61,6 +62,15 @@ patternProperties:
6162
- reg
6263

6364
allOf:
65+
- if:
66+
properties:
67+
compatible:
68+
contains:
69+
const: jedec,ddr4-channel
70+
then:
71+
patternProperties:
72+
"^rank@[0-9]+$":
73+
$ref: /schemas/memory-controllers/ddr/jedec,ddr4.yaml#
6474
- if:
6575
properties:
6676
compatible:

0 commit comments

Comments
 (0)