projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf4881c
)
clk: sunxi-ng: a83t: Add M divider to TCON1 clock
author
Jernej Škrabec
<jernej.skrabec@siol.net>
Sat, 30 Dec 2017 21:01:54 +0000
(22:01 +0100)
committer
Chen-Yu Tsai
<wens@csie.org>
Wed, 3 Jan 2018 05:45:04 +0000
(13:45 +0800)
TCON1 also has M divider, contrary to TCON0. And the mux is only
2 bits wide, instead of 3.
Fixes: 05359be1176b ("clk: sunxi-ng: Add driver for A83T CCU")
Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
[wens@csie.org: Add description about mux width difference]
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
drivers/clk/sunxi-ng/ccu-sun8i-a83t.c
patch
|
blob
|
history
diff --git
a/drivers/clk/sunxi-ng/ccu-sun8i-a83t.c
b/drivers/clk/sunxi-ng/ccu-sun8i-a83t.c
index 04a9c33f53f019d56d3942f7d795f038893108a0..7d08015b980d33e7f53b5a5d48ee18894896fe6c 100644
(file)
--- a/
drivers/clk/sunxi-ng/ccu-sun8i-a83t.c
+++ b/
drivers/clk/sunxi-ng/ccu-sun8i-a83t.c
@@
-504,8
+504,8
@@
static SUNXI_CCU_MUX_WITH_GATE(tcon0_clk, "tcon0", tcon0_parents,
0x118, 24, 3, BIT(31), CLK_SET_RATE_PARENT);
static const char * const tcon1_parents[] = { "pll-video1" };
-static SUNXI_CCU_M
UX_WITH
_GATE(tcon1_clk, "tcon1", tcon1_parents,
- 0x11c,
24, 3
, BIT(31), CLK_SET_RATE_PARENT);
+static SUNXI_CCU_M
_WITH_MUX
_GATE(tcon1_clk, "tcon1", tcon1_parents,
+ 0x11c,
0, 4, 24, 2
, BIT(31), CLK_SET_RATE_PARENT);
static SUNXI_CCU_GATE(csi_misc_clk, "csi-misc", "osc24M", 0x130, BIT(16), 0);