berlin2-pll.h 565 B

1234567891011121314151617181920212223
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Copyright (c) 2014 Marvell Technology Group Ltd.
  4. *
  5. * Alexandre Belloni <[email protected]>
  6. * Sebastian Hesselbarth <[email protected]>
  7. */
  8. #ifndef __BERLIN2_PLL_H
  9. #define __BERLIN2_PLL_H
  10. struct berlin2_pll_map {
  11. const u8 vcodiv[16];
  12. u8 mult;
  13. u8 fbdiv_shift;
  14. u8 rfdiv_shift;
  15. u8 divsel_shift;
  16. };
  17. int berlin2_pll_register(const struct berlin2_pll_map *map,
  18. void __iomem *base, const char *name,
  19. const char *parent_name, unsigned long flags);
  20. #endif /* __BERLIN2_PLL_H */