blob: 7f434f669627f9dde7bbbb7b98daee594ce8e533 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Masahiro Yamada9d6652c2016-09-17 03:33:09 +09002/*
3 * Copyright (C) 2011-2014 Panasonic Corporation
4 * Copyright (C) 2015-2016 Socionext Inc.
5 * Author: Masahiro Yamada <yamada.masahiro@socionext.com>
Masahiro Yamada9d6652c2016-09-17 03:33:09 +09006 */
7
8#include <linux/io.h>
9
10#include "../sc-regs.h"
11#include "pll.h"
12
13void uniphier_ld4_dpll_ssc_en(void)
14{
15 u32 tmp;
16
17 tmp = readl(SC_DPLLCTRL);
18 tmp |= SC_DPLLCTRL_SSC_EN;
19 writel(tmp, SC_DPLLCTRL);
20}