2018-05-06 21:58:06 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+
|
2016-09-16 18:33:09 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2011-2014 Panasonic Corporation
|
|
|
|
* Copyright (C) 2015-2016 Socionext Inc.
|
|
|
|
* Author: Masahiro Yamada <yamada.masahiro@socionext.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <linux/io.h>
|
|
|
|
|
|
|
|
#include "../sc-regs.h"
|
|
|
|
#include "pll.h"
|
|
|
|
|
|
|
|
void uniphier_ld4_dpll_ssc_en(void)
|
|
|
|
{
|
|
|
|
u32 tmp;
|
|
|
|
|
2019-07-10 11:07:41 +00:00
|
|
|
tmp = readl(sc_base + SC_DPLLCTRL);
|
2016-09-16 18:33:09 +00:00
|
|
|
tmp |= SC_DPLLCTRL_SSC_EN;
|
2019-07-10 11:07:41 +00:00
|
|
|
writel(tmp, sc_base + SC_DPLLCTRL);
|
2016-09-16 18:33:09 +00:00
|
|
|
}
|