Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1383301
| From | Xing Zheng <zhengxing@rock-chips.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 5/6] clk: rockchip: rk3399: fix the cifout clock |
| Date | 2016-04-20 13:20 +0200 |
| Message-ID | <rpYkO-70Z-11@gated-at.bofh.it> (permalink) |
| References | <rpYb9-6WM-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
The cifout clock is incorrect due to the manual error, we need to
fix it.
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
---
drivers/clk/rockchip/clk-rk3399.c | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/drivers/clk/rockchip/clk-rk3399.c b/drivers/clk/rockchip/clk-rk3399.c
index 1da4fe1..e81cc85 100644
--- a/drivers/clk/rockchip/clk-rk3399.c
+++ b/drivers/clk/rockchip/clk-rk3399.c
@@ -158,7 +158,7 @@ PNAME(mux_dclk_vop0_p) = { "dclk_vop0_div",
PNAME(mux_dclk_vop1_p) = { "dclk_vop1_div",
"dclk_vop1_frac" };
-PNAME(mux_clk_cif_p) = { "clk_cifout_div", "xin24m" };
+PNAME(mux_clk_cif_p) = { "clk_cifout_src", "xin24m" };
PNAME(mux_pll_src_24m_usbphy480m_p) = { "xin24m", "clk_usbphy_480m" };
PNAME(mux_pll_src_24m_pciephy_p) = { "xin24m", "clk_pciephy_ref100m" };
@@ -1254,11 +1254,12 @@ static struct rockchip_clk_branch rk3399_clk_branches[] __initdata = {
RK3399_CLKGATE_CON(27), 6, GFLAGS),
/* cif */
- COMPOSITE(0, "clk_cifout_div", mux_pll_src_cpll_gpll_npll_p, 0,
- RK3399_CLKSEL_CON(56), 6, 2, MFLAGS, 0, 5, DFLAGS,
+ COMPOSITE_NODIV(0, "clk_cifout_src", mux_pll_src_cpll_gpll_npll_p, 0,
+ RK3399_CLKSEL_CON(56), 6, 2, MFLAGS,
RK3399_CLKGATE_CON(10), 7, GFLAGS),
- MUX(SCLK_CIF_OUT, "clk_cifout", mux_clk_cif_p, CLK_SET_RATE_PARENT,
- RK3399_CLKSEL_CON(56), 5, 1, MFLAGS),
+
+ COMPOSITE_NOGATE(SCLK_CIF_OUT, "clk_cifout", mux_clk_cif_p, 0,
+ RK3399_CLKSEL_CON(56), 5, 1, MFLAGS, 0, 5, DFLAGS),
/* gic */
COMPOSITE(ACLK_GIC_PRE, "aclk_gic_pre", mux_pll_src_cpll_gpll_p, CLK_IGNORE_UNUSED,
--
1.7.9.5
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/6] Fix the clock controller driver for the RK3399 Xing Zheng <zhengxing@rock-chips.com> - 2016-04-20 13:10 +0200
[PATCH 4/6] clk: rockchip: rk3399: update necessary critical clocks Xing Zheng <zhengxing@rock-chips.com> - 2016-04-20 13:10 +0200
Re: [PATCH 4/6] clk: rockchip: rk3399: update necessary critical clocks Heiko Stübner <heiko@sntech.de> - 2016-04-26 00:10 +0200
[PATCH 6/6] clk: rockchip: rk3399: fix the gate bit for i2c4 and i2c8 Xing Zheng <zhengxing@rock-chips.com> - 2016-04-20 13:20 +0200
Re: [PATCH 6/6] clk: rockchip: rk3399: fix the gate bit for i2c4 and i2c8 Heiko Stübner <heiko@sntech.de> - 2016-04-25 23:10 +0200
[PATCH 5/6] clk: rockchip: rk3399: fix the cifout clock Xing Zheng <zhengxing@rock-chips.com> - 2016-04-20 13:20 +0200
Re: [PATCH 5/6] clk: rockchip: rk3399: fix the cifout clock Heiko Stübner <heiko@sntech.de> - 2016-04-25 23:10 +0200
Re: [PATCH 3/6] clk: rockchip: rk3399: drop unnecessary CLK_IGNORE_UNUSED flags Heiko Stübner <heiko@sntech.de> - 2016-04-25 23:10 +0200
csiph-web