adav80x.h 547 B

123456789101112131415161718192021222324252627282930313233343536
  1. /*
  2. * header file for ADAV80X parts
  3. *
  4. * Copyright 2011 Analog Devices Inc.
  5. *
  6. * Licensed under the GPL-2 or later.
  7. */
  8. #ifndef _ADAV80X_H
  9. #define _ADAV80X_H
  10. enum adav80x_pll_src {
  11. ADAV80X_PLL_SRC_XIN,
  12. ADAV80X_PLL_SRC_XTAL,
  13. ADAV80X_PLL_SRC_MCLKI,
  14. };
  15. enum adav80x_pll {
  16. ADAV80X_PLL1 = 0,
  17. ADAV80X_PLL2 = 1,
  18. };
  19. enum adav80x_clk_src {
  20. ADAV80X_CLK_XIN = 0,
  21. ADAV80X_CLK_MCLKI = 1,
  22. ADAV80X_CLK_PLL1 = 2,
  23. ADAV80X_CLK_PLL2 = 3,
  24. ADAV80X_CLK_XTAL = 6,
  25. ADAV80X_CLK_SYSCLK1 = 6,
  26. ADAV80X_CLK_SYSCLK2 = 7,
  27. ADAV80X_CLK_SYSCLK3 = 8,
  28. };
  29. #endif