/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2013-2017 Altera Corporation */ #ifndef _CLOCK_MANAGER_H_ #define _CLOCK_MANAGER_H_ phys_addr_t socfpga_get_clkmgr_addr(void); #ifndef __ASSEMBLY__ void cm_wait_for_lock(u32 mask); int cm_wait_for_fsm(void); void cm_print_clock_quick_summary(void); unsigned int cm_get_qspi_controller_clk_hz(void); #endif #if defined(CONFIG_TARGET_SOCFPGA_GEN5) #include #elif defined(CONFIG_TARGET_SOCFPGA_ARRIA10) #include #elif defined(CONFIG_TARGET_SOCFPGA_STRATIX10) #include #elif defined(CONFIG_TARGET_SOCFPGA_AGILEX) #include #endif #endif /* _CLOCK_MANAGER_H_ */