aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clk
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2015-03-24 13:22:08 -0400
committerMaxime Ripard <maxime.ripard@free-electrons.com>2015-03-25 14:46:41 -0400
commitf1017969661dd33ead5ba7c3f4a0793c6611441a (patch)
treeb4e6aec3ce3765f5c6692abec131768ffa8110bc /drivers/clk
parent934fe5f48ae52841f8a5f5e0411147a8ccd171c1 (diff)
clk: sunxi: Add pll6 / 4 clock output to sun4i-a10-pll6
The pll6 has a /4 output that is used as an input to the ahb mux clock. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'drivers/clk')
-rw-r--r--drivers/clk/sunxi/clk-sunxi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clk/sunxi/clk-sunxi.c b/drivers/clk/sunxi/clk-sunxi.c
index 9f31314a9cd7..7e1e2bd189b6 100644
--- a/drivers/clk/sunxi/clk-sunxi.c
+++ b/drivers/clk/sunxi/clk-sunxi.c
@@ -1088,11 +1088,12 @@ static const struct divs_data pll5_divs_data __initconst = {
1088 1088
1089static const struct divs_data pll6_divs_data __initconst = { 1089static const struct divs_data pll6_divs_data __initconst = {
1090 .factors = &sun4i_pll6_data, 1090 .factors = &sun4i_pll6_data,
1091 .ndivs = 3, 1091 .ndivs = 4,
1092 .div = { 1092 .div = {
1093 { .shift = 0, .table = pll6_sata_tbl, .gate = 14 }, /* M, SATA */ 1093 { .shift = 0, .table = pll6_sata_tbl, .gate = 14 }, /* M, SATA */
1094 { .fixed = 2 }, /* P, other */ 1094 { .fixed = 2 }, /* P, other */
1095 { .self = 1 }, /* base factor clock, 2x */ 1095 { .self = 1 }, /* base factor clock, 2x */
1096 { .fixed = 4 }, /* pll6 / 4, used as ahb input */
1096 } 1097 }
1097}; 1098};
1098 1099