diff mbox series

[v2,04/13] dt-bindings: usb: mtu3: add wakeup interrupt

Message ID 1624008558-16949-5-git-send-email-chunfeng.yun@mediatek.com
State Superseded
Headers show
Series Add support mtu3 gadget (runtime) PM | expand

Commit Message

Chunfeng Yun (云春峰) June 18, 2021, 9:29 a.m. UTC
Add an dedicated interrupt which is usually EINT to support runtime PM,
meanwhile add "interrupt-names" property, for backward compatibility,
it's optional and used when wakeup interrupt exists

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
---
v2: no changes
---
 .../devicetree/bindings/usb/mediatek,mtu3.yaml      | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

Comments

Rob Herring (Arm) July 12, 2021, 7:09 p.m. UTC | #1
On Fri, 18 Jun 2021 17:29:09 +0800, Chunfeng Yun wrote:
> Add an dedicated interrupt which is usually EINT to support runtime PM,

> meanwhile add "interrupt-names" property, for backward compatibility,

> it's optional and used when wakeup interrupt exists

> 

> Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>

> ---

> v2: no changes

> ---

>  .../devicetree/bindings/usb/mediatek,mtu3.yaml      | 13 ++++++++++++-

>  1 file changed, 12 insertions(+), 1 deletion(-)

> 


Acked-by: Rob Herring <robh@kernel.org>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/usb/mediatek,mtu3.yaml b/Documentation/devicetree/bindings/usb/mediatek,mtu3.yaml
index 104f1f7edaf0..77db1233516e 100644
--- a/Documentation/devicetree/bindings/usb/mediatek,mtu3.yaml
+++ b/Documentation/devicetree/bindings/usb/mediatek,mtu3.yaml
@@ -38,7 +38,18 @@  properties:
       - const: ippc
 
   interrupts:
-    maxItems: 1
+    description:
+      use "interrupts-extended" when the interrupts are connected to the
+      separate interrupt controllers
+    minItems: 1
+    items:
+      - description: SSUSB device controller interrupt
+      - description: optional, wakeup interrupt used to support runtime PM
+
+  interrupt-names:
+    items:
+      - const: device
+      - const: wakeup
 
   power-domains:
     description: A phandle to USB power domain node to control USB's MTCMOS