Masahiro Yamada | 6a3e427 | 2016-09-17 03:33:09 +0900 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2016 Socionext Inc. |
| 3 | * Author: Masahiro Yamada <yamada.masahiro@socionext.com> |
| 4 | * |
| 5 | * SPDX-License-Identifier: GPL-2.0+ |
| 6 | */ |
| 7 | |
| 8 | #ifndef MACH_PLL_H |
| 9 | #define MACH_PLL_H |
| 10 | |
Masahiro Yamada | 682e09f | 2016-09-17 03:33:11 +0900 | [diff] [blame] | 11 | #define UNIPHIER_PLL_FREQ_DEFAULT (0) |
| 12 | |
Masahiro Yamada | 6a3e427 | 2016-09-17 03:33:09 +0900 | [diff] [blame] | 13 | void uniphier_ld4_dpll_ssc_en(void); |
| 14 | |
Masahiro Yamada | 682e09f | 2016-09-17 03:33:11 +0900 | [diff] [blame] | 15 | int uniphier_ld20_sscpll_init(unsigned long reg_base, unsigned int freq, |
| 16 | unsigned int ssc_rate, unsigned int divn); |
| 17 | int uniphier_ld20_sscpll_ssc_en(unsigned long reg_base); |
| 18 | int uniphier_ld20_vpll27_init(unsigned long reg_base); |
| 19 | int uniphier_ld20_dspll_init(unsigned long reg_base); |
| 20 | |
Masahiro Yamada | 6a3e427 | 2016-09-17 03:33:09 +0900 | [diff] [blame] | 21 | #endif /* MACH_PLL_H */ |