Skip to content

Commit 9805f2c

Browse files
clegoffickrzk
authored andcommitted
dt-bindings: memory: SDRAM channel: standardise node name
Add a pattern for sdram channel node name. 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-5-a033ac5144da@gmail.com Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
1 parent 36ecc83 commit 9805f2c

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ maintainers:
1717
- Julius Werner <jwerner@chromium.org>
1818

1919
properties:
20+
$nodename:
21+
pattern: "sdram-channel-[0-9]+$"
22+
2023
compatible:
2124
enum:
2225
- jedec,ddr4-channel
@@ -118,7 +121,7 @@ additionalProperties: false
118121

119122
examples:
120123
- |
121-
lpddr-channel0 {
124+
sdram-channel-0 {
122125
#address-cells = <1>;
123126
#size-cells = <0>;
124127
compatible = "jedec,lpddr3-channel";
@@ -133,7 +136,7 @@ examples:
133136
};
134137
};
135138
136-
lpddr-channel1 {
139+
sdram-channel-1 {
137140
#address-cells = <1>;
138141
#size-cells = <0>;
139142
compatible = "jedec,lpddr4-channel";

0 commit comments

Comments
 (0)