diff options
author | Serge Semin <Sergey.Semin@baikalelectronics.ru> | 2020-12-10 12:09:38 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-01-12 14:41:32 +0300 |
commit | dc87c87126d14fdce1986c4b3e8674a6dcbe7bfb (patch) | |
tree | 6105d26a7a07ecb462e7bdd4a2f3d05de2bf19d2 /Documentation/devicetree/bindings/usb | |
parent | 6f84a28df802cd23e3a526a49a6417462bdbbed3 (diff) | |
download | linux-dc87c87126d14fdce1986c4b3e8674a6dcbe7bfb.tar.xz |
dt-bindings: usb: dwc3: Add Frame Length Adj constraints
In accordance with the IP core databook the
snps,quirk-frame-length-adjustment property can be set within [0, 0x3F].
Let's make sure the DT schema applies a correct constraints on the
property.
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Serge Semin <Sergey.Semin@baikalelectronics.ru>
Link: https://lore.kernel.org/r/20201210090944.16283-15-Sergey.Semin@baikalelectronics.ru
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/devicetree/bindings/usb')
-rw-r--r-- | Documentation/devicetree/bindings/usb/snps,dwc3.yaml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml index e01a9a93d74a..2247da77eac1 100644 --- a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml +++ b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml @@ -243,6 +243,8 @@ properties: length adjustment when the fladj_30mhz_sdbnd signal is invalid or incorrect. $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 0 + maximum: 0x3f snps,rx-thr-num-pkt-prd: description: |