16a3e4274SMasahiro Yamada /* 26a3e4274SMasahiro Yamada * Copyright (C) 2016 Socionext Inc. 36a3e4274SMasahiro Yamada * Author: Masahiro Yamada <yamada.masahiro@socionext.com> 46a3e4274SMasahiro Yamada * 56a3e4274SMasahiro Yamada * SPDX-License-Identifier: GPL-2.0+ 66a3e4274SMasahiro Yamada */ 76a3e4274SMasahiro Yamada 86a3e4274SMasahiro Yamada #ifndef MACH_PLL_H 96a3e4274SMasahiro Yamada #define MACH_PLL_H 106a3e4274SMasahiro Yamada 11*682e09ffSMasahiro Yamada #define UNIPHIER_PLL_FREQ_DEFAULT (0) 12*682e09ffSMasahiro Yamada 136a3e4274SMasahiro Yamada void uniphier_ld4_dpll_ssc_en(void); 146a3e4274SMasahiro Yamada 15*682e09ffSMasahiro Yamada int uniphier_ld20_sscpll_init(unsigned long reg_base, unsigned int freq, 16*682e09ffSMasahiro Yamada unsigned int ssc_rate, unsigned int divn); 17*682e09ffSMasahiro Yamada int uniphier_ld20_sscpll_ssc_en(unsigned long reg_base); 18*682e09ffSMasahiro Yamada int uniphier_ld20_vpll27_init(unsigned long reg_base); 19*682e09ffSMasahiro Yamada int uniphier_ld20_dspll_init(unsigned long reg_base); 20*682e09ffSMasahiro Yamada 216a3e4274SMasahiro Yamada #endif /* MACH_PLL_H */ 22