Skip to content

Commit c5c8a6e

Browse files
Fabio Estevamgregkh
authored andcommitted
dt-bindings: serial: mxs: Fix compatible list
imx23 and imx28 are SoCs from the same family (mxs) and they share the same AUART block, so the same programming model. imx23 is the first member of this family. It had an AUART DMA erratum. imx28 is the second member of this family and has this erratum fixed. imx28.dtsi uses the following description: compatible = "fsl,imx28-auart", "fsl,imx23-auart"; Make it valid so that the following schema warning could be avoided: imx28-apx4devkit.dtb: serial@8006a000: compatible: ['fsl,imx28-auart', 'fsl,imx23-auart'] is too long from schema $id: http://devicetree.org/schemas/serial/fsl-mxs-auart.yaml# Signed-off-by: Fabio Estevam <[email protected]> Acked-by: Conor Dooley <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 70a0d49 commit c5c8a6e

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

Documentation/devicetree/bindings/serial/fsl-mxs-auart.yaml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,13 @@ allOf:
1414

1515
properties:
1616
compatible:
17-
enum:
18-
- fsl,imx23-auart
19-
- fsl,imx28-auart
20-
- alphascale,asm9260-auart
17+
oneOf:
18+
- const: fsl,imx23-auart
19+
- const: alphascale,asm9260-auart
20+
- items:
21+
- enum:
22+
- fsl,imx28-auart
23+
- const: fsl,imx23-auart
2124

2225
reg:
2326
maxItems: 1
@@ -82,7 +85,7 @@ examples:
8285
};
8386
8487
auart0: serial@8006a000 {
85-
compatible = "fsl,imx28-auart";
88+
compatible = "fsl,imx28-auart", "fsl,imx23-auart";
8689
reg = <0x8006a000 0x2000>;
8790
interrupts = <112>;
8891
dmas = <&dma_apbx 8>, <&dma_apbx 9>;

0 commit comments

Comments
 (0)