Commit 6739fad4 authored by Frank Li's avatar Frank Li Committed by Niklas Cassel

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: e58e12c5 ("dt-bindings: ata: ahci-fsl-qoriq: convert to yaml format")
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarFrank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/20240712185740.3819170-1-Frank.Li@nxp.com
[cassel: rewrap commit log lines, capitalize SATA]
Signed-off-by: default avatarNiklas Cassel <cassel@kernel.org>
parent f97106b1
......@@ -11,13 +11,19 @@ maintainers:
properties:
compatible:
enum:
- fsl,ls1021a-ahci
- fsl,ls1043a-ahci
- fsl,ls1028a-ahci
- fsl,ls1088a-ahci
- fsl,ls2080a-ahci
- fsl,lx2160a-ahci
oneOf:
- description: SATA controller for ls1012a
items:
- const: fsl,ls1012a-ahci
- const: fsl,ls1043a-ahci
- enum:
- fsl,ls1021a-ahci
- fsl,ls1028a-ahci
- fsl,ls1043a-ahci
- fsl,ls1046a-ahci
- fsl,ls1088a-ahci
- fsl,ls2080a-ahci
- fsl,lx2160a-ahci
reg:
minItems: 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment