summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/usb/generic-ehci.yaml
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2020-05-12 15:45:40 -0500
committerRob Herring <robh@kernel.org>2020-05-14 14:43:11 -0500
commit3c9ab53f0348a04ec349275eb67e968ec8b030e8 (patch)
tree4300b6ff350b03fbe5825bf55aaaa6115ae59dca /Documentation/devicetree/bindings/usb/generic-ehci.yaml
parente2f233ec155360d1cfff19cde77ffd4785d571da (diff)
dt-bindings: usb: ehci: Add missing 2nd register region
The 'ibm,usb-ehci-440epx' compatible has a 2nd 'reg' region, but the schema says there is only 1 region. Fix this. Cc: linux-usb@vger.kernel.org Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/usb/generic-ehci.yaml')
-rw-r--r--Documentation/devicetree/bindings/usb/generic-ehci.yaml19
1 files changed, 15 insertions, 4 deletions
diff --git a/Documentation/devicetree/bindings/usb/generic-ehci.yaml b/Documentation/devicetree/bindings/usb/generic-ehci.yaml
index 848eea59bc00..37a818d72a74 100644
--- a/Documentation/devicetree/bindings/usb/generic-ehci.yaml
+++ b/Documentation/devicetree/bindings/usb/generic-ehci.yaml
@@ -6,19 +6,30 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
title: USB EHCI Controller Device Tree Bindings
-allOf:
- - $ref: "usb-hcd.yaml"
-
maintainers:
- Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+allOf:
+ - $ref: "usb-hcd.yaml"
+ - if:
+ properties:
+ compatible:
+ not:
+ contains:
+ const: ibm,usb-ehci-440epx
+ then:
+ properties:
+ reg:
+ maxItems: 1
+
properties:
compatible:
contains:
const: generic-ehci
reg:
- maxItems: 1
+ minItems: 1
+ maxItems: 2
interrupts:
maxItems: 1