projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b441cf
)
clk: zynqmp: Add support for setting up clock for USB
author
Michal Simek
<michal.simek@xilinx.com>
Fri, 29 Oct 2021 11:13:37 +0000
(13:13 +0200)
committer
Michal Simek
<michal.simek@xilinx.com>
Wed, 5 Jan 2022 09:22:02 +0000
(10:22 +0100)
USB range is not enabled but for setting up frequency it is needed.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Link:
https://lore.kernel.org/r/c55c423f48ca8f953a2dfbdcb25068278d8e5ad6.1635506016.git.michal.simek@xilinx.com
drivers/clk/clk_zynqmp.c
patch
|
blob
|
history
diff --git
a/drivers/clk/clk_zynqmp.c
b/drivers/clk/clk_zynqmp.c
index 52fecec7a7a9a2c19493f39952054846409015eb..ca36df66406922cd1570e73f3bd20faa0dd346f4 100644
(file)
--- a/
drivers/clk/clk_zynqmp.c
+++ b/
drivers/clk/clk_zynqmp.c
@@
-699,6
+699,7
@@
static ulong zynqmp_clk_set_rate(struct clk *clk, ulong rate)
switch (id) {
case gem0_ref ... gem3_ref:
case qspi_ref ... can1_ref:
+ case usb0_bus_ref ... usb3_dual_ref:
return zynqmp_clk_set_peripheral_rate(priv, id,
rate, two_divs);
default: