]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/mach-socfpga/include/mach/clock_manager.h
arm: socfpga: clock: Clean up pll_config.h
[karo-tx-uboot.git] / arch / arm / mach-socfpga / include / mach / clock_manager.h
index 8a3362f4ab4b24666c445ee1134f6cceb8f14490..2675951a3e2526ff6811cb7be009464521d7d436 100644 (file)
@@ -15,6 +15,12 @@ unsigned int cm_get_l4_sp_clk_hz(void);
 unsigned int cm_get_mmc_controller_clk_hz(void);
 unsigned int cm_get_qspi_controller_clk_hz(void);
 unsigned int cm_get_spi_controller_clk_hz(void);
+const unsigned int cm_get_osc_clk_hz(const int osc);
+const unsigned int cm_get_f2s_per_ref_clk_hz(void);
+const unsigned int cm_get_f2s_sdr_ref_clk_hz(void);
+
+/* Clock configuration accessors */
+const struct cm_config * const cm_get_default_config(void);
 #endif
 
 struct cm_config {
@@ -51,7 +57,7 @@ struct cm_config {
        uint32_t s2fuser2clk;
 };
 
-extern void cm_basic_init(const struct cm_config *cfg);
+void cm_basic_init(const struct cm_config * const cfg);
 
 struct socfpga_clock_manager_main_pll {
        u32     vco;