Devicetree
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: usb: xlnx,usb2: Make clocks required
@ 2026-08-10 15:45 Radhey Shyam Pandey
  2026-08-10 15:57 ` sashiko-bot
  0 siblings, 1 reply; 2+ messages in thread
From: Radhey Shyam Pandey @ 2026-08-10 15:45 UTC (permalink / raw)
  To: gregkh, robh, krzk+dt, conor+dt
  Cc: linux-usb, devicetree, linux-kernel, git, Radhey Shyam Pandey

Add s_axi_aclk AXI4 clock support as a required property. Traditionally
this IP was used on MicroBlaze platforms which had fixed clocks enabled
all the time. But since it is a PL IP, it can also be used on SoC
platforms like Zynq UltraScale+ MPSoC which combines processing system
(PS) and user programmable logic (PL) into the same device. On these
platforms instead of fixed enabled clocks it is mandatory to explicitly
enable IP clocks for proper functionality.

So make clocks and clock-names required properties.

Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>
---
Similiar changes were done for emaclite YAML in commit
60dbdc6e08d6 dt-bindings: net: emaclite: Add clock support
---
 Documentation/devicetree/bindings/usb/xlnx,usb2.yaml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Documentation/devicetree/bindings/usb/xlnx,usb2.yaml b/Documentation/devicetree/bindings/usb/xlnx,usb2.yaml
index f295aa9d9ee7..156d3676f9f9 100644
--- a/Documentation/devicetree/bindings/usb/xlnx,usb2.yaml
+++ b/Documentation/devicetree/bindings/usb/xlnx,usb2.yaml
@@ -34,6 +34,8 @@ required:
   - compatible
   - reg
   - interrupts
+  - clocks
+  - clock-names
 
 additionalProperties: false
 
@@ -43,5 +45,7 @@ examples:
         compatible = "xlnx,usb2-device-4.00.a";
         interrupts = <0x0 0x39 0x1>;
         reg = <0xee000000 0xc00>;
+        clocks = <&dummy>;
+        clock-names = "s_axi_aclk";
         xlnx,has-builtin-dma;
     };

base-commit: 6b8c8af514d739d0335f5579b585e02babe8a727
-- 
2.43.0


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

end of thread, other threads:[~2026-08-10 15:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-10 15:45 [PATCH] dt-bindings: usb: xlnx,usb2: Make clocks required Radhey Shyam Pandey
2026-08-10 15:57 ` sashiko-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox