Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Masahiro Yamada | 6a3e427 | 2016-09-17 03:33:09 +0900 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2011-2014 Panasonic Corporation |
| 4 | * Copyright (C) 2015-2016 Socionext Inc. |
| 5 | * Author: Masahiro Yamada <yamada.masahiro@socionext.com> |
Masahiro Yamada | 6a3e427 | 2016-09-17 03:33:09 +0900 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | #include <linux/io.h> |
| 9 | |
| 10 | #include "../sc-regs.h" |
| 11 | #include "pll.h" |
| 12 | |
| 13 | void uniphier_ld4_dpll_ssc_en(void) |
| 14 | { |
| 15 | u32 tmp; |
| 16 | |
Masahiro Yamada | 739ba41 | 2019-07-10 20:07:41 +0900 | [diff] [blame] | 17 | tmp = readl(sc_base + SC_DPLLCTRL); |
Masahiro Yamada | 6a3e427 | 2016-09-17 03:33:09 +0900 | [diff] [blame] | 18 | tmp |= SC_DPLLCTRL_SSC_EN; |
Masahiro Yamada | 739ba41 | 2019-07-10 20:07:41 +0900 | [diff] [blame] | 19 | writel(tmp, sc_base + SC_DPLLCTRL); |
Masahiro Yamada | 6a3e427 | 2016-09-17 03:33:09 +0900 | [diff] [blame] | 20 | } |