Skip to contentSkip to conversation

doc: dt-binding: cdns,usb3: add wakeup-irq

PATCH In review Peter Chen 2 participants 2 messages Nov 4, 2020 – Nov 5, 2020

Subsystems (3)
lore
Share & tools
lore

Peter Chen

author
#0 lore raw

PATCH v3 1/1 doc: dt-binding: cdns,usb3: add wakeup-irq

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.

---
Changes for v3:
- Fix the dt_binding_check error

Changes for v2:
- Add "minItems: 3" to make wakeup irq optional

 Documentation/devicetree/bindings/usb/cdns,usb3.yaml | 5 +++++
 1 file changed, 5 insertions(+)
Documentation/devicetree/bindings/usb/cdns,usb3.yaml +5 -0
index ac20b98e9910..b32c877dc2a8 100644
@@ -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]
Signature · 1 line
2.17.1
maintainer Reviewed-by on v3 1/1
#1 lore raw
Quoted 9 lines · Peter Chen

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.

---
Changes for v3:
- Fix the dt_binding_check error

Quoted 6 lines

Changes for v2:
- Add "minItems: 3" to make wakeup irq optional

 Documentation/devicetree/bindings/usb/cdns,usb3.yaml | 5 +++++
 1 file changed, 5 insertions(+)