]> git.sur5r.net Git - u-boot/blob - arch/arm/mach-uniphier/pll/pll-spectrum-sld3.c
Merge branch 'master' of git://www.denx.de/git/u-boot-sunxi
[u-boot] / arch / arm / mach-uniphier / pll / pll-spectrum-sld3.c
1 /*
2  * Copyright (C) 2011-2015 Masahiro Yamada <yamada.masahiro@socionext.com>
3  *
4  * SPDX-License-Identifier:     GPL-2.0+
5  */
6
7 #include <common.h>
8 #include <linux/io.h>
9
10 #include "../init.h"
11 #include "../sc-regs.h"
12
13 int uniphier_sld3_enable_dpll_ssc(const struct uniphier_board_data *bd)
14 {
15         u32 tmp;
16
17         tmp = readl(SC_DPLLCTRL);
18         tmp |= SC_DPLLCTRL_SSC_EN;
19         writel(tmp, SC_DPLLCTRL);
20
21         return 0;
22 }