aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Cercueil <paul@crapouillou.net>2019-03-19 10:05:36 -0400
committerStephen Boyd <sboyd@kernel.org>2019-04-11 16:41:11 -0400
commiteaa9558d35aee594c9658d92852e537a0fb897d7 (patch)
treefa8c13bddb58ebfaea2be50daf2a5f5c51da4057
parent93dc07f8b089ee073075c22873ab707225e192b5 (diff)
clk: ingenic: jz4725b: Add UDC PHY clock
Add clock for the USB Device Controller PHY. Signed-off-by: Paul Cercueil <paul@crapouillou.net> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
-rw-r--r--drivers/clk/ingenic/jz4725b-cgu.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/clk/ingenic/jz4725b-cgu.c b/drivers/clk/ingenic/jz4725b-cgu.c
index 584ff4ff81c7..8901ea0295b7 100644
--- a/drivers/clk/ingenic/jz4725b-cgu.c
+++ b/drivers/clk/ingenic/jz4725b-cgu.c
@@ -205,6 +205,12 @@ static const struct ingenic_cgu_clk_info jz4725b_cgu_clocks[] = {
205 .parents = { JZ4725B_CLK_EXT512, JZ4725B_CLK_OSC32K, -1, -1 }, 205 .parents = { JZ4725B_CLK_EXT512, JZ4725B_CLK_OSC32K, -1, -1 },
206 .mux = { CGU_REG_OPCR, 2, 1}, 206 .mux = { CGU_REG_OPCR, 2, 1},
207 }, 207 },
208
209 [JZ4725B_CLK_UDC_PHY] = {
210 "udc_phy", CGU_CLK_GATE,
211 .parents = { JZ4725B_CLK_EXT, -1, -1, -1 },
212 .gate = { CGU_REG_OPCR, 6, true },
213 },
208}; 214};
209 215
210static void __init jz4725b_cgu_init(struct device_node *np) 216static void __init jz4725b_cgu_init(struct device_node *np)