diff options
author | Serge Semin <Sergey.Semin@baikalelectronics.ru> | 2020-12-10 12:09:35 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-01-12 12:41:31 +0100 |
commit | 53f5ef5d622b7f2b5cf3e53d965b12c38082f974 (patch) | |
tree | 478899c388ef46d76b969cdcefd87035c5782de0 /Documentation/devicetree/bindings/usb/snps,dwc3.yaml | |
parent | 389d7765880143e18139a9c5428b67bc9d3a617e (diff) | |
download | linux-stable-53f5ef5d622b7f2b5cf3e53d965b12c38082f974.tar.gz linux-stable-53f5ef5d622b7f2b5cf3e53d965b12c38082f974.tar.bz2 linux-stable-53f5ef5d622b7f2b5cf3e53d965b12c38082f974.zip |
dt-bindings: usb: dwc3: Add interrupt-names property support
The controller driver supports two types of DWC USB3 devices: with a
common interrupt lane and with individual interrupts for each mode. Add
support for both these cases to the DWC USB3 DT schema.
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Serge Semin <Sergey.Semin@baikalelectronics.ru>
Link: https://lore.kernel.org/r/20201210090944.16283-12-Sergey.Semin@baikalelectronics.ru
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/devicetree/bindings/usb/snps,dwc3.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/usb/snps,dwc3.yaml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml index 57caca8339ae..87a92e313d24 100644 --- a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml +++ b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml @@ -34,8 +34,19 @@ properties: const: snps,dwc3 interrupts: + description: + It's either a single common DWC3 interrupt (dwc_usb3) or individual + interrupts for the host, gadget and DRD modes. + minItems: 1 + maxItems: 3 + + interrupt-names: minItems: 1 maxItems: 3 + oneOf: + - const: dwc_usb3 + - items: + enum: [host, peripheral, otg] clocks: description: |