Commit b43889fc authored by Radhey Shyam Pandey's avatar Radhey Shyam Pandey Committed by Greg Kroah-Hartman
Browse files

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: default avatarRadhey Shyam Pandey <radhey.shyam.pandey@amd.com>
Reviewed-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
Link: https://patch.msgid.link/20251114123239.1929255-1-radhey.shyam.pandey@amd.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent de7275cb
Loading
Loading
Loading
Loading
+22 −0
Original line number Diff line number Diff line
@@ -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: