mt_clkmgr.h 533 B

12345678910111213141516171819202122
  1. #ifndef _MT_CLKMGR_H
  2. #define _MT_CLKMGR_H
  3. #ifdef CONFIG_MTK_CLKMGR
  4. #ifdef CONFIG_ARCH_MT6735M
  5. #include "mach/mt_clkmgr2.h"
  6. #elif defined(CONFIG_ARCH_MT6753)
  7. #include "mach/mt_clkmgr3.h"
  8. #else /* CONFIG_ARCH_MT6735 */
  9. #include "mach/mt_clkmgr1_legacy.h"
  10. #endif
  11. #else /* !CONFIG_MTK_CLKMGR */
  12. #ifdef CONFIG_ARCH_MT6735M
  13. #error "Does not support common clock framework"
  14. #elif defined(CONFIG_ARCH_MT6753)
  15. #error "Does not support common clock framework"
  16. #else /* CONFIG_ARCH_MT6735 */
  17. #include "mach/mt_clkmgr1.h"
  18. #endif
  19. #endif
  20. #endif