Skip to content

Commit a8d3eea

Browse files
jernejskgregkh
authored andcommitted
clk: sunxi-ng: a83t: Add M divider to TCON1 clock
[ Upstream commit 7dbc7f5 ] TCON1 also has M divider, contrary to TCON0. And the mux is only 2 bits wide, instead of 3. Fixes: 05359be ("clk: sunxi-ng: Add driver for A83T CCU") Signed-off-by: Jernej Skrabec <[email protected]> [[email protected]: Add description about mux width difference] Signed-off-by: Chen-Yu Tsai <[email protected]> Signed-off-by: Sasha Levin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent e0870e5 commit a8d3eea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/clk/sunxi-ng/ccu-sun8i-a83t.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -493,8 +493,8 @@ static SUNXI_CCU_MUX_WITH_GATE(tcon0_clk, "tcon0", tcon0_parents,
493493
0x118, 24, 3, BIT(31), CLK_SET_RATE_PARENT);
494494

495495
static const char * const tcon1_parents[] = { "pll-video1" };
496-
static SUNXI_CCU_MUX_WITH_GATE(tcon1_clk, "tcon1", tcon1_parents,
497-
0x11c, 24, 3, BIT(31), CLK_SET_RATE_PARENT);
496+
static SUNXI_CCU_M_WITH_MUX_GATE(tcon1_clk, "tcon1", tcon1_parents,
497+
0x11c, 0, 4, 24, 2, BIT(31), CLK_SET_RATE_PARENT);
498498

499499
static SUNXI_CCU_GATE(csi_misc_clk, "csi-misc", "osc24M", 0x130, BIT(16), 0);
500500

0 commit comments

Comments
 (0)