2015-07-21 05:04:22 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2011-2015 Masahiro Yamada <yamada.masahiro@socionext.com>
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <common.h>
|
|
|
|
#include <linux/io.h>
|
2016-01-08 16:51:13 +00:00
|
|
|
|
|
|
|
#include "../init.h"
|
|
|
|
#include "../sc-regs.h"
|
2015-07-21 05:04:22 +00:00
|
|
|
|
2016-03-30 11:17:02 +00:00
|
|
|
int uniphier_sld3_enable_dpll_ssc(const struct uniphier_board_data *bd)
|
2015-07-21 05:04:22 +00:00
|
|
|
{
|
|
|
|
u32 tmp;
|
|
|
|
|
|
|
|
tmp = readl(SC_DPLLCTRL);
|
|
|
|
tmp |= SC_DPLLCTRL_SSC_EN;
|
|
|
|
writel(tmp, SC_DPLLCTRL);
|
2015-09-21 15:27:39 +00:00
|
|
|
|
|
|
|
return 0;
|
2015-07-21 05:04:22 +00:00
|
|
|
}
|