projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47629f6
)
clk: hi3798cv200: add support for HISTB_USB2_OTG_UTMI_CLK
author
Shawn Guo
<shawn.guo@linaro.org>
Wed, 24 Jan 2018 11:48:25 +0000
(19:48 +0800)
committer
Shawn Guo
<shawnguo@kernel.org>
Tue, 27 Feb 2018 01:19:12 +0000
(09:19 +0800)
The clock HISTB_USB2_OTG_UTMI_CLK is defined by device tree bindings in
include/dt-bindings/clock/histb-clock.h, but hasn't been supported by
hi3798cv200 clock driver. Let's add the support for it.
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
drivers/clk/hisilicon/crg-hi3798cv200.c
patch
|
blob
|
history
diff --git
a/drivers/clk/hisilicon/crg-hi3798cv200.c
b/drivers/clk/hisilicon/crg-hi3798cv200.c
index
d7d1ba0
..
6017ade
100644
(file)
--- a/
drivers/clk/hisilicon/crg-hi3798cv200.c
+++ b/
drivers/clk/hisilicon/crg-hi3798cv200.c
@@
-161,6
+161,8
@@
static const struct hisi_gate_clock hi3798cv200_gate_clks[] = {
CLK_SET_RATE_PARENT, 0xb8, 1, 0 },
{ HISTB_USB2_UTMI_CLK, "clk_u2_utmi", "60m",
CLK_SET_RATE_PARENT, 0xb8, 5, 0 },
+ { HISTB_USB2_OTG_UTMI_CLK, "clk_u2_otg_utmi", "60m",
+ CLK_SET_RATE_PARENT, 0xb8, 3, 0 },
{ HISTB_USB2_PHY1_REF_CLK, "clk_u2_phy1_ref", "24m",
CLK_SET_RATE_PARENT, 0xbc, 0, 0 },
{ HISTB_USB2_PHY2_REF_CLK, "clk_u2_phy2_ref", "24m",