summaryrefslogtreecommitdiff
path: root/arch/arm/mach-uniphier/ph1-pro4/pll_spectrum.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-uniphier/ph1-pro4/pll_spectrum.c')
-rw-r--r--arch/arm/mach-uniphier/ph1-pro4/pll_spectrum.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm/mach-uniphier/ph1-pro4/pll_spectrum.c b/arch/arm/mach-uniphier/ph1-pro4/pll_spectrum.c
new file mode 100644
index 0000000..ff9c73f
--- /dev/null
+++ b/arch/arm/mach-uniphier/ph1-pro4/pll_spectrum.c
@@ -0,0 +1,18 @@
+/*
+ * Copyright (C) 2011-2014 Panasonic Corporation
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#include <common.h>
+#include <asm/io.h>
+#include <mach/sc-regs.h>
+
+void enable_dpll_ssc(void)
+{
+ u32 tmp;
+
+ tmp = readl(SC_DPLLCTRL);
+ tmp |= SC_DPLLCTRL_SSC_EN;
+ writel(tmp, SC_DPLLCTRL);
+}