]> git.ipfire.org Git - people/ms/u-boot.git/blame - arch/arm/mach-uniphier/pll/pll-spectrum-ph1-ld4.c
Merge branch 'master' of git://git.denx.de/u-boot-x86
[people/ms/u-boot.git] / arch / arm / mach-uniphier / pll / pll-spectrum-ph1-ld4.c
CommitLineData
3365b4eb
MY
1/*
2 * Copyright (C) 2011-2015 Masahiro Yamada <yamada.masahiro@socionext.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0+
5 */
6
3365b4eb 7#include <linux/io.h>
107b3fb4
MY
8
9#include "../init.h"
10#include "../sc-regs.h"
3365b4eb 11
323d1f9d 12int ph1_ld4_enable_dpll_ssc(const struct uniphier_board_data *bd)
3365b4eb
MY
13{
14 u32 tmp;
15
16 tmp = readl(SC_DPLLCTRL);
17 tmp |= SC_DPLLCTRL_SSC_EN;
18 writel(tmp, SC_DPLLCTRL);
323d1f9d
MY
19
20 return 0;
3365b4eb 21}