All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/4] clk: rockchip: fix cpuclk mux bit of big cpu-cluster
@ 2016-01-20 21:49 Heiko Stuebner
  2016-01-20 21:49 ` [PATCH 2/4] clk: rockchip: fix rk3368 cpuclk core dividers Heiko Stuebner
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Heiko Stuebner @ 2016-01-20 21:49 UTC (permalink / raw)
  To: mturquette, sboyd
  Cc: linux-clk, linux-rockchip, xf, zhangqing, Heiko Stuebner

Both clusters have their mux bit in bit 7 of their respective register.
For whatever reason the big cluster currently lists bit 15 which is
definitly wrong.

Fixes: 3536c97a52db ("clk: rockchip: add rk3368 clock controller")
Reported-by: Zhang Qing <zhangqing@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
---
I plan to include them into my clk-fixes branch, so posted for reference
and possible objections ;-)

 drivers/clk/rockchip/clk-rk3368.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/rockchip/clk-rk3368.c b/drivers/clk/rockchip/clk-rk3368.c
index 21f3ea9..f6667b8 100644
--- a/drivers/clk/rockchip/clk-rk3368.c
+++ b/drivers/clk/rockchip/clk-rk3368.c
@@ -165,7 +165,7 @@ static const struct rockchip_cpuclk_reg_data rk3368_cpuclkb_data = {
 	.core_reg = RK3368_CLKSEL_CON(0),
 	.div_core_shift = 0,
 	.div_core_mask = 0x1f,
-	.mux_core_shift = 15,
+	.mux_core_shift = 7,
 };
 
 static const struct rockchip_cpuclk_reg_data rk3368_cpuclkl_data = {
-- 
2.6.4

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2016-01-21  1:48 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-20 21:49 [PATCH 1/4] clk: rockchip: fix cpuclk mux bit of big cpu-cluster Heiko Stuebner
2016-01-20 21:49 ` [PATCH 2/4] clk: rockchip: fix rk3368 cpuclk core dividers Heiko Stuebner
2016-01-21  9:42   ` zhangqing
2016-01-20 21:49 ` [PATCH 3/4] clk: rockchip: rk3368: fix parents of video encoder/decoder Heiko Stuebner
2016-01-21  9:43   ` zhangqing
2016-01-20 21:49 ` [PATCH 4/4] clk: rockchip: rk3368: fix hdmi_cec gate-register Heiko Stuebner
2016-01-21  9:44   ` zhangqing
2016-01-20 22:06 ` [PATCH 1/4] clk: rockchip: fix cpuclk mux bit of big cpu-cluster Stephen Boyd
2016-01-20 22:25   ` Heiko Stuebner
2016-01-20 22:25     ` Heiko Stuebner
2016-01-21  9:44 ` zhangqing

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.