Skip to content

Commit 4f9f45d

Browse files
SherrySun5krzk
authored andcommitted
dt-bindings: memory: snps,ddrc-3.80a compatible also need interrupts
For the snps,ddrc-3.80a compatible, the interrupts property is also required, also order the compatibles by name (s goes before x). Signed-off-by: Sherry Sun <sherry.sun@nxp.com> Fixes: a9e6b38 ("dt-bindings: memory: Add entry for version 3.80a") Link: https://lore.kernel.org/r/20220321075131.17811-2-sherry.sun@nxp.com Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
1 parent 6f296a9 commit 4f9f45d

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

Documentation/devicetree/bindings/memory-controllers/synopsys,ddrc-ecc.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ description: |
2424
properties:
2525
compatible:
2626
enum:
27+
- snps,ddrc-3.80a
2728
- xlnx,zynq-ddrc-a05
2829
- xlnx,zynqmp-ddrc-2.40a
29-
- snps,ddrc-3.80a
3030

3131
interrupts:
3232
maxItems: 1
@@ -43,7 +43,9 @@ allOf:
4343
properties:
4444
compatible:
4545
contains:
46-
const: xlnx,zynqmp-ddrc-2.40a
46+
enum:
47+
- snps,ddrc-3.80a
48+
- xlnx,zynqmp-ddrc-2.40a
4749
then:
4850
required:
4951
- interrupts

0 commit comments

Comments
 (0)