dt-bindings: usb: dwc3-xilinx: Describe the reset constraint for the versal platform

AMD Versal platform USB 2.0 IP controller receives one reset input from
the SoC controlled by the CRL.RST_USB [RESET] register so accordingly
describe reset constraints.

Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://patch.msgid.link/20251114123239.1929255-1-radhey.shyam.pandey@amd.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Radhey Shyam Pandey
2025-11-14 18:02:39 +05:30
committed by Greg Kroah-Hartman
parent de7275cbc6
commit b43889fcae

View File

@@ -47,6 +47,7 @@ properties:
- const: ref_clk
resets:
minItems: 1
description:
A list of phandles for resets listed in reset-names.
@@ -56,6 +57,7 @@ properties:
- description: USB APB reset
reset-names:
minItems: 1
items:
- const: usb_crst
- const: usb_hibrst
@@ -95,6 +97,26 @@ required:
- resets
- reset-names
allOf:
- if:
properties:
compatible:
contains:
enum:
- xlnx,versal-dwc3
then:
properties:
resets:
maxItems: 1
reset-names:
maxItems: 1
else:
properties:
resets:
minItems: 3
reset-names:
minItems: 3
additionalProperties: false
examples: