1
0
Fork 0

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>
alistair/sunxi64-5.8
Rob Herring 2020-05-12 15:45:40 -05:00
parent e2f233ec15
commit 3c9ab53f03
1 changed files with 15 additions and 4 deletions

View File

@ -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