Masahiro Yamada | 9d6652c | 2016-09-17 03:33:09 +0900 | [diff] [blame^] | 1 | /* |
2 | * Copyright (C) 2011-2014 Panasonic Corporation | ||||
3 | * Copyright (C) 2015-2016 Socionext Inc. | ||||
4 | * Author: Masahiro Yamada <yamada.masahiro@socionext.com> | ||||
5 | * | ||||
6 | * SPDX-License-Identifier: GPL-2.0+ | ||||
7 | */ | ||||
8 | |||||
9 | #include <linux/io.h> | ||||
10 | |||||
11 | #include "../sc-regs.h" | ||||
12 | #include "pll.h" | ||||
13 | |||||
14 | void uniphier_ld4_dpll_ssc_en(void) | ||||
15 | { | ||||
16 | u32 tmp; | ||||
17 | |||||
18 | tmp = readl(SC_DPLLCTRL); | ||||
19 | tmp |= SC_DPLLCTRL_SSC_EN; | ||||
20 | writel(tmp, SC_DPLLCTRL); | ||||
21 | } |