Masahiro Yamada | 3365b4e | 2015-07-21 14:04:22 +0900 | [diff] [blame] | 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 | #include <mach/sc-regs.h> | ||||
10 | |||||
11 | void enable_dpll_ssc(void) | ||||
12 | { | ||||
13 | u32 tmp; | ||||
14 | |||||
15 | tmp = readl(SC_DPLLCTRL); | ||||
16 | tmp |= SC_DPLLCTRL_SSC_EN; | ||||
17 | writel(tmp, SC_DPLLCTRL); | ||||
18 | } |