diff options
author | Emilio López <emilio@elopez.com.ar> | 2013-12-22 22:32:34 -0500 |
---|---|---|
committer | Emilio López <emilio@elopez.com.ar> | 2013-12-28 15:08:06 -0500 |
commit | d838ff33ec3a6262f44476d8edc0303acdc16580 (patch) | |
tree | 0c700acae95db629e0e085bc4608752e4f77b515 /drivers/clk/sunxi | |
parent | edaf3fb580df7f6c510699664f51485030a29f17 (diff) |
clk: sunxi: add gating support to PLL1
This commit adds gating support to PLL1 on the clock driver. This makes
the PLL1 implementation fully compatible with PLL4 as well.
Signed-off-by: Emilio López <emilio@elopez.com.ar>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/clk/sunxi')
-rw-r--r-- | drivers/clk/sunxi/clk-sunxi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/clk/sunxi/clk-sunxi.c b/drivers/clk/sunxi/clk-sunxi.c index bae5e32c51bd..eeb623bec5ff 100644 --- a/drivers/clk/sunxi/clk-sunxi.c +++ b/drivers/clk/sunxi/clk-sunxi.c | |||
@@ -301,11 +301,13 @@ static struct clk_factors_config sun4i_apb1_config = { | |||
301 | }; | 301 | }; |
302 | 302 | ||
303 | static const struct factors_data sun4i_pll1_data __initconst = { | 303 | static const struct factors_data sun4i_pll1_data __initconst = { |
304 | .enable = 31, | ||
304 | .table = &sun4i_pll1_config, | 305 | .table = &sun4i_pll1_config, |
305 | .getter = sun4i_get_pll1_factors, | 306 | .getter = sun4i_get_pll1_factors, |
306 | }; | 307 | }; |
307 | 308 | ||
308 | static const struct factors_data sun6i_a31_pll1_data __initconst = { | 309 | static const struct factors_data sun6i_a31_pll1_data __initconst = { |
310 | .enable = 31, | ||
309 | .table = &sun6i_a31_pll1_config, | 311 | .table = &sun6i_a31_pll1_config, |
310 | .getter = sun6i_a31_get_pll1_factors, | 312 | .getter = sun6i_a31_get_pll1_factors, |
311 | }; | 313 | }; |