Skip to content

Commit 6739fad

Browse files
nxpfranklifloatious
authored andcommitted
dt-bindings: ata: ahci-fsl-qoriq: add fsl,ls1046a-ahci and fsl,ls1012a-ahci
Add missing documented compatible strings 'fsl,ls1046a-ahci' and 'fsl,ls1012a-ahci'. Allow 'fsl,ls1012a-ahci' to fallback to 'fsl,ls1043a-ahci'. Fix below CHECK_DTB warnings arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dtb: sata@3200000: compatible:0: 'fsl,ls1012a-ahci' is not one of ['fsl,ls1021a-ahci', 'fsl,ls1043a-ahci', 'fsl,ls1028a-ahci', 'fsl,ls1088a-ahci', 'fsl,ls2080a-ahci', 'fsl,lx2160a-ahci'] arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dtb: sata@3200000: compatible: ['fsl,ls1012a-ahci', 'fsl,ls1043a-ahci'] is too long Fixes: e58e12c ("dt-bindings: ata: ahci-fsl-qoriq: convert to yaml format") Reviewed-by: Rob Herring <[email protected]> Signed-off-by: Frank Li <[email protected]> Link: https://lore.kernel.org/r/[email protected] [cassel: rewrap commit log lines, capitalize SATA] Signed-off-by: Niklas Cassel <[email protected]>
1 parent f97106b commit 6739fad

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

Documentation/devicetree/bindings/ata/fsl,ahci.yaml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,19 @@ maintainers:
1111

1212
properties:
1313
compatible:
14-
enum:
15-
- fsl,ls1021a-ahci
16-
- fsl,ls1043a-ahci
17-
- fsl,ls1028a-ahci
18-
- fsl,ls1088a-ahci
19-
- fsl,ls2080a-ahci
20-
- fsl,lx2160a-ahci
14+
oneOf:
15+
- description: SATA controller for ls1012a
16+
items:
17+
- const: fsl,ls1012a-ahci
18+
- const: fsl,ls1043a-ahci
19+
- enum:
20+
- fsl,ls1021a-ahci
21+
- fsl,ls1028a-ahci
22+
- fsl,ls1043a-ahci
23+
- fsl,ls1046a-ahci
24+
- fsl,ls1088a-ahci
25+
- fsl,ls2080a-ahci
26+
- fsl,lx2160a-ahci
2127

2228
reg:
2329
minItems: 1

0 commit comments

Comments
 (0)