devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: usb: dwc3: xilinx: Add interrupt-names to include hibernation interrupt
@ 2023-04-12  6:08 Piyush Mehta
  2023-04-12 12:36 ` Rob Herring
  2023-04-18 18:40 ` Rob Herring
  0 siblings, 2 replies; 5+ messages in thread
From: Piyush Mehta @ 2023-04-12  6:08 UTC (permalink / raw)
  To: gregkh, robh+dt, krzysztof.kozlowski+dt, michal.simek
  Cc: linux-usb, devicetree, linux-kernel, michal.simek,
	siva.durga.prasad.paladugu, linux-arm-kernel, git, Piyush Mehta

The hibernation feature enabled for Xilinx Versal NET SoC in DWC3 IP.
Added host mode interrupts and "usb-wakeup" interrupt-names optional
property in the binding schema to capture remote-wakeup and connect/
disconnect event in the hibernation state.

Xilinx dwc3-core uses "host" and "otg" interrupts interrupt-names DT
properties from dwc3-core.

Signed-off-by: Piyush Mehta <piyush.mehta@amd.com>
---
Note:
- Xilinx uses dwc3-cores interrupt-names DT property.
  Link:
  Xilinx-dwc3 core: https://github.com/torvalds/linux/blob/master/Documentation/devicetree/bindings/usb/dwc3-xilinx.yaml#L129
  dwc3-core: https://github.com/torvalds/linux/blob/master/Documentation/devicetree/bindings/usb/snps%2Cdwc3.yaml#L42
---
 Documentation/devicetree/bindings/usb/dwc3-xilinx.yaml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/Documentation/devicetree/bindings/usb/dwc3-xilinx.yaml b/Documentation/devicetree/bindings/usb/dwc3-xilinx.yaml
index 098b73134a1b..abc32db2448a 100644
--- a/Documentation/devicetree/bindings/usb/dwc3-xilinx.yaml
+++ b/Documentation/devicetree/bindings/usb/dwc3-xilinx.yaml
@@ -44,6 +44,15 @@ properties:
       - const: bus_clk
       - const: ref_clk
 
+  interrupts:
+    items:
+      - description: Handle to the line usb-wakeup used to wake
+          up the host processor.
+
+  interrupt-names:
+    items:
+      - const: usb-wakeup
+
   resets:
     description:
       A list of phandles for resets listed in reset-names.
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-04-27 14:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-12  6:08 [PATCH] dt-bindings: usb: dwc3: xilinx: Add interrupt-names to include hibernation interrupt Piyush Mehta
2023-04-12 12:36 ` Rob Herring
2023-04-18 18:40 ` Rob Herring
2023-04-21 13:28   ` Mehta, Piyush
2023-04-27 14:18     ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).