dt-bindings: usb: dwc3: add reference clock period
authorBaruch Siach <baruch@tkos.co.il>
Tue, 31 Aug 2021 05:57:29 +0000 (08:57 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Sep 2021 08:15:55 +0000 (10:15 +0200)
Document the snps,ref-clock-period-ns property that describes reference
clock period when it deviates from the default set value.

Reviewed-by: Rob Herring <robh@kernel.org>
Acked-by: Felipe Balbi <balbi@kernel.org>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Link: https://lore.kernel.org/r/f5ea5bc3664a98a684ad4b699a1ac610e847176f.1630389452.git.baruch@tkos.co.il
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/usb/snps,dwc3.yaml

index 078fb78..1040d06 100644 (file)
@@ -252,6 +252,14 @@ properties:
     minimum: 0
     maximum: 0x3f
 
+  snps,ref-clock-period-ns:
+    description:
+      Value for REFCLKPER field of GUCTL register for reference clock period in
+      nanoseconds, when the hardware set default does not match the actual
+      clock.
+    minimum: 1
+    maximum: 0x3ff
+
   snps,rx-thr-num-pkt-prd:
     description:
       Periodic ESS RX packet threshold count (host mode only). Set this and