pll.h 652 B

123456789101112131415161718192021
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * Copyright (C) 2016 Socionext Inc.
  4. * Author: Masahiro Yamada <yamada.masahiro@socionext.com>
  5. */
  6. #ifndef MACH_PLL_H
  7. #define MACH_PLL_H
  8. #define UNIPHIER_PLL_FREQ_DEFAULT (0)
  9. void uniphier_ld4_dpll_ssc_en(void);
  10. int uniphier_ld20_sscpll_init(unsigned long reg_base, unsigned int freq,
  11. unsigned int ssc_rate, unsigned int divn);
  12. int uniphier_ld20_sscpll_ssc_en(unsigned long reg_base);
  13. int uniphier_ld20_sscpll_set_regi(unsigned long reg_base, unsigned regi);
  14. int uniphier_ld20_vpll27_init(unsigned long reg_base);
  15. int uniphier_ld20_dspll_init(unsigned long reg_base);
  16. #endif /* MACH_PLL_H */