xref: /OK3568_Linux_fs/u-boot/arch/arm/mach-uniphier/clk/dpll-tail.c (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /*
2*4882a593Smuzhiyun  * Copyright (C) 2011-2014 Panasonic Corporation
3*4882a593Smuzhiyun  * Copyright (C) 2015-2016 Socionext Inc.
4*4882a593Smuzhiyun  *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
5*4882a593Smuzhiyun  *
6*4882a593Smuzhiyun  * SPDX-License-Identifier:	GPL-2.0+
7*4882a593Smuzhiyun  */
8*4882a593Smuzhiyun 
9*4882a593Smuzhiyun #include <linux/io.h>
10*4882a593Smuzhiyun 
11*4882a593Smuzhiyun #include "../sc-regs.h"
12*4882a593Smuzhiyun #include "pll.h"
13*4882a593Smuzhiyun 
uniphier_ld4_dpll_ssc_en(void)14*4882a593Smuzhiyun void uniphier_ld4_dpll_ssc_en(void)
15*4882a593Smuzhiyun {
16*4882a593Smuzhiyun 	u32 tmp;
17*4882a593Smuzhiyun 
18*4882a593Smuzhiyun 	tmp = readl(SC_DPLLCTRL);
19*4882a593Smuzhiyun 	tmp |= SC_DPLLCTRL_SSC_EN;
20*4882a593Smuzhiyun 	writel(tmp, SC_DPLLCTRL);
21*4882a593Smuzhiyun }
22