Skip to content

Commit f145845

Browse files
robherringdamien-lemoal
authored andcommitted
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) <[email protected]> Signed-off-by: Damien Le Moal <[email protected]>
1 parent 692173d commit f145845

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

Documentation/devicetree/bindings/ata/apm,xgene-ahci.yaml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,11 @@ title: APM X-Gene 6.0 Gb/s SATA host controller
99
maintainers:
1010
- Rob Herring <[email protected]>
1111

12-
allOf:
13-
- $ref: ahci-common.yaml#
14-
1512
properties:
1613
compatible:
1714
enum:
1815
- apm,xgene-ahci
19-
- apm,xgene-ahci-pcie
16+
- apm,xgene-ahci-v2
2017

2118
reg:
2219
minItems: 4
@@ -35,12 +32,22 @@ properties:
3532

3633
required:
3734
- compatible
38-
- clocks
39-
- phys
40-
- phy-names
4135

4236
unevaluatedProperties: false
4337

38+
allOf:
39+
- $ref: ahci-common.yaml#
40+
- if:
41+
properties:
42+
compatible:
43+
contains:
44+
const: apm,xgene-ahci
45+
then:
46+
required:
47+
- clocks
48+
- phys
49+
- phy-names
50+
4451
examples:
4552
- |
4653
sata@1a400000 {

0 commit comments

Comments
 (0)