Skip to content

Commit 34d401a

Browse files
PiyushXilinxgregkh
authored andcommitted
dt-bindings: usb: dwc3: Add interrupt-names property support for wakeup interrupt
The hibernation feature enabled for Xilinx Versal NET SoC in DWC3 IP. As the DWC3 IP supports the hibernation feature, to handle the wakeup or hibernation interrupt, add host mode "wakeup" interrupt-names optional property in the binding schema to capture remote-wakeup and connect/ disconnect event in the hibernation state and increased maxItems to 4 for the interrupts and interrupt-names property. We have a dedicated IRQ line specifically for the hibernation feature. When the "wakeup" IRQ line is triggered, it initiates a hibernation interrupt, causing the system to wake up from the hibernation state. Signed-off-by: Piyush Mehta <piyush.mehta@amd.com> Acked-by: Conor Dooley <conor.dooley@microchip.com> Reviewed-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20230619105032.2888128-1-piyush.mehta@amd.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 5aa735a commit 34d401a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Documentation/devicetree/bindings/usb/snps,dwc3.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,15 @@ properties:
4444
It's either a single common DWC3 interrupt (dwc_usb3) or individual
4545
interrupts for the host, gadget and DRD modes.
4646
minItems: 1
47-
maxItems: 3
47+
maxItems: 4
4848

4949
interrupt-names:
5050
minItems: 1
51-
maxItems: 3
51+
maxItems: 4
5252
oneOf:
5353
- const: dwc_usb3
5454
- items:
55-
enum: [host, peripheral, otg]
55+
enum: [host, peripheral, otg, wakeup]
5656

5757
clocks:
5858
description:

0 commit comments

Comments
 (0)