]> git.baikalelectronics.ru Git - kernel.git/commit
dt-bindings: usb: dwc3: Deprecate snps,ref-clock-period-ns
authorSean Anderson <sean.anderson@seco.com>
Thu, 27 Jan 2022 20:06:30 +0000 (15:06 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Feb 2022 10:42:22 +0000 (11:42 +0100)
commitc4f4c30eebb3ff9b44b32aa9bb01b7fb8a0c4faf
tree822166b44c8463ed04398d959413eced5ee44f8d
parentfe1f7443938bb1cc53322fb207e50638b63a13e4
dt-bindings: usb: dwc3: Deprecate snps,ref-clock-period-ns

This property is redundant because we can determine the correct value for
REFCLKPER based on the "ref" clock. Deprecate it, and encourage users to
provide a clock instead. This also restricts the minimum and maximum to the
values documented in the register reference [1].

[1] https://www.xilinx.com/html_docs/registers/ug1087/usb3_xhci___guctl.html

Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Link: https://lore.kernel.org/r/20220127200636.1456175-2-sean.anderson@seco.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/usb/snps,dwc3.yaml