summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorSean Anderson <[email protected]>2022-11-27 15:31:54 +0100
committerMarek Vasut <[email protected]>2022-11-27 15:34:56 +0100
commit6bae0eb5b8bd7f7f87c7bf106acea869da187b66 (patch)
tree60ee4b7eea11f7298ea16e109ee83ac9c13c7ff3 /include/linux
parent57548e8bc7cb6eb1c1a0206579c2a84737a70650 (diff)
usb: dwc3: Calculate REFCLKPER based on reference clock
Instead of using a special property to determine the reference clock period, use the rate of the reference clock. When we have a legacy snps,ref-clock-period-ns property and no reference clock, use it instead. Fractional clocks are not currently supported, and will be dealt with in the next commit. [ marek: Ported from Linux kernel commit 5114c3ee24875 ("usb: dwc3: Calculate REFCLKPER based on reference clock") ] Reviewed-by: Sean Anderson <[email protected]> Signed-off-by: Sean Anderson <[email protected]> Signed-off-by: Marek Vasut <[email protected]> # Port from Linux
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions