diff options
author | Marek Vasut <marex@denx.de> | 2022-11-27 15:31:56 +0100 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2022-11-27 15:34:56 +0100 |
commit | db5bace4f6cb37251a5863efe4c0c1547d1334bd (patch) | |
tree | 2eef180252fa91862c30acaf18b0b39339d1bedc /drivers | |
parent | c55ac51a550c8d2f8485abe94cb80c15b81d08fa (diff) | |
download | u-boot-db5bace4f6cb37251a5863efe4c0c1547d1334bd.zip u-boot-db5bace4f6cb37251a5863efe4c0c1547d1334bd.tar.gz u-boot-db5bace4f6cb37251a5863efe4c0c1547d1334bd.tar.bz2 |
usb: dwc3: Drop support for "snps, ref-clock-period-ns" DT property
Drop support for quickly deprecated DT property "snps,ref-clock-period-ns"
to prevent its proliferation.
Reviewed-by: Sean Anderson <seanga2@gmail.com>
Signed-off-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/dwc3/core.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c index 6e0876d..49f6a19 100644 --- a/drivers/usb/dwc3/core.c +++ b/drivers/usb/dwc3/core.c @@ -141,9 +141,6 @@ static void dwc3_ref_clk_period(struct dwc3 *dwc) if (!rate) return; period = NSEC_PER_SEC / rate; - } else if (dwc->ref_clk_per) { - period = dwc->ref_clk_per; - rate = NSEC_PER_SEC / period; } else { return; } @@ -1121,7 +1118,6 @@ void dwc3_of_parse(struct dwc3 *dwc) | (dwc->is_utmi_l1_suspend << 4); dev_read_u32(dev, "snps,quirk-frame-length-adjustment", &dwc->fladj); - dev_read_u32(dev, "snps,ref-clock-period-ns", &dwc->ref_clk_per); /* * Handle property "snps,incr-burst-type-adjustment". |