doc: dt-binding: cdns,usb3: add wakeup-irq
authorPeter Chen <peter.chen@nxp.com>
Tue, 20 Oct 2020 02:44:06 +0000 (10:44 +0800)
committerPeter Chen <peter.chen@nxp.com>
Thu, 10 Dec 2020 00:45:26 +0000 (08:45 +0800)
To support low power mode for controller, the driver needs wakeup-irq
to reflect the signal changing after controller is stopped, and waking
the controller up accordingly.

Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Documentation/devicetree/bindings/usb/cdns,usb3.yaml

index d6af2794d44481ce70e626c9b2d89d795810ec23..a407e1143cf4251bb3373b0bda35f81593fbe189 100644 (file)
@@ -26,16 +26,21 @@ properties:
       - const: dev
 
   interrupts:
+    minItems: 3
     items:
       - description: OTG/DRD controller interrupt
       - description: XHCI host controller interrupt
       - description: Device controller interrupt
+      - description: interrupt used to wake up core, e.g when usbcmd.rs is
+                     cleared by xhci core, this interrupt is optional
 
   interrupt-names:
+    minItems: 3
     items:
       - const: host
       - const: peripheral
       - const: otg
+      - const: wakeup
 
   dr_mode:
     enum: [host, otg, peripheral]