blob: 94654eeba0a5c4786cc6bf3466ffd2837cc2be8f [file] [log] [blame]
Masahiro Yamadabb2ff9d2014-10-03 19:21:06 +09001/*
Masahiro Yamada663a23f2015-05-29 17:30:00 +09002 * Copyright (C) 2011-2015 Masahiro Yamada <yamada.masahiro@socionext.com>
Masahiro Yamadabb2ff9d2014-10-03 19:21:06 +09003 *
4 * SPDX-License-Identifier: GPL-2.0+
5 */
6
7#include <common.h>
Masahiro Yamada663a23f2015-05-29 17:30:00 +09008#include <linux/io.h>
Masahiro Yamadaefdf3402016-01-09 01:51:13 +09009
10#include "../init.h"
11#include "../sc-regs.h"
Masahiro Yamadabb2ff9d2014-10-03 19:21:06 +090012
Masahiro Yamada75f16f82015-09-22 00:27:39 +090013int ph1_sld3_enable_dpll_ssc(const struct uniphier_board_data *bd)
Masahiro Yamadabb2ff9d2014-10-03 19:21:06 +090014{
15 u32 tmp;
16
17 tmp = readl(SC_DPLLCTRL);
18 tmp |= SC_DPLLCTRL_SSC_EN;
19 writel(tmp, SC_DPLLCTRL);
Masahiro Yamada75f16f82015-09-22 00:27:39 +090020
21 return 0;
Masahiro Yamadabb2ff9d2014-10-03 19:21:06 +090022}