]> git.sur5r.net Git - u-boot/blob - arch/arm/mach-uniphier/pll/pll-spectrum-ph1-ld4.c
Merge git://git.denx.de/u-boot-socfpga
[u-boot] / arch / arm / mach-uniphier / pll / pll-spectrum-ph1-ld4.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 <linux/io.h>
8 #include <mach/init.h>
9 #include <mach/sc-regs.h>
10
11 int ph1_ld4_enable_dpll_ssc(const struct uniphier_board_data *bd)
12 {
13         u32 tmp;
14
15         tmp = readl(SC_DPLLCTRL);
16         tmp |= SC_DPLLCTRL_SSC_EN;
17         writel(tmp, SC_DPLLCTRL);
18
19         return 0;
20 }