mirror of https://github.com/torvalds/linux.git
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>
This commit is contained in:
parent
692173de30
commit
f145845d83
|
|
@ -9,14 +9,11 @@ title: APM X-Gene 6.0 Gb/s SATA host controller
|
||||||
maintainers:
|
maintainers:
|
||||||
- Rob Herring <robh@kernel.org>
|
- Rob Herring <robh@kernel.org>
|
||||||
|
|
||||||
allOf:
|
|
||||||
- $ref: ahci-common.yaml#
|
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
compatible:
|
compatible:
|
||||||
enum:
|
enum:
|
||||||
- apm,xgene-ahci
|
- apm,xgene-ahci
|
||||||
- apm,xgene-ahci-pcie
|
- apm,xgene-ahci-v2
|
||||||
|
|
||||||
reg:
|
reg:
|
||||||
minItems: 4
|
minItems: 4
|
||||||
|
|
@ -35,12 +32,22 @@ properties:
|
||||||
|
|
||||||
required:
|
required:
|
||||||
- compatible
|
- compatible
|
||||||
- clocks
|
|
||||||
- phys
|
|
||||||
- phy-names
|
|
||||||
|
|
||||||
unevaluatedProperties: false
|
unevaluatedProperties: false
|
||||||
|
|
||||||
|
allOf:
|
||||||
|
- $ref: ahci-common.yaml#
|
||||||
|
- if:
|
||||||
|
properties:
|
||||||
|
compatible:
|
||||||
|
contains:
|
||||||
|
const: apm,xgene-ahci
|
||||||
|
then:
|
||||||
|
required:
|
||||||
|
- clocks
|
||||||
|
- phys
|
||||||
|
- phy-names
|
||||||
|
|
||||||
examples:
|
examples:
|
||||||
- |
|
- |
|
||||||
sata@1a400000 {
|
sata@1a400000 {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue