Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: ata: apm,xgene-ahci: Add apm,xgene-ahci-v2 support

The "apm,xgene-ahci-v2" compatible has been in use for a long time, but
was undocumented. It doesn't require clocks or phys.

Remove the "apm,xgene-ahci-pcie" compatible which isn't used anywhere
while we're here.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>

authored by

Rob Herring (Arm) and committed by
Damien Le Moal
f145845d 692173de

+14 -7
+14 -7
Documentation/devicetree/bindings/ata/apm,xgene-ahci.yaml
··· 9 9 maintainers: 10 10 - Rob Herring <robh@kernel.org> 11 11 12 - allOf: 13 - - $ref: ahci-common.yaml# 14 - 15 12 properties: 16 13 compatible: 17 14 enum: 18 15 - apm,xgene-ahci 19 - - apm,xgene-ahci-pcie 16 + - apm,xgene-ahci-v2 20 17 21 18 reg: 22 19 minItems: 4 ··· 32 35 33 36 required: 34 37 - compatible 35 - - clocks 36 - - phys 37 - - phy-names 38 38 39 39 unevaluatedProperties: false 40 + 41 + allOf: 42 + - $ref: ahci-common.yaml# 43 + - if: 44 + properties: 45 + compatible: 46 + contains: 47 + const: apm,xgene-ahci 48 + then: 49 + required: 50 + - clocks 51 + - phys 52 + - phy-names 40 53 41 54 examples: 42 55 - |