Skip to content

Commit 87b726b

Browse files
Fabio Estevammiquelraynal
authored andcommitted
dt-bindings: mtd: mxc-nand: Document fsl,imx31-nand
imx31.dtsi uses the following NAND compatible: compatible = "fsl,imx31-nand", "fsl,imx27-nand"; Document 'fsl,imx31-nand' to fix the following dt-schema warning: compatible: ['fsl,imx31-nand', 'fsl,imx27-nand'] is too long Signed-off-by: Fabio Estevam <[email protected]> Acked-by: Conor Dooley <[email protected]> Signed-off-by: Miquel Raynal <[email protected]>
1 parent a9d94a2 commit 87b726b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Documentation/devicetree/bindings/mtd/mxc-nand.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,12 @@ allOf:
1414

1515
properties:
1616
compatible:
17-
const: fsl,imx27-nand
18-
17+
oneOf:
18+
- const: fsl,imx27-nand
19+
- items:
20+
- enum:
21+
- fsl,imx31-nand
22+
- const: fsl,imx27-nand
1923
reg:
2024
maxItems: 1
2125

0 commit comments

Comments
 (0)