#include <linux/slab.h>
#include <linux/clk-provider.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <dt-bindings/clock/stratix10-clock.h>
#include "stratix10-clk.h"
static const struct clk_parent_data pll_mux[] = …;
static const struct clk_parent_data cntr_mux[] = …;
static const struct clk_parent_data boot_mux[] = …;
static const struct clk_parent_data noc_free_mux[] = …;
static const struct clk_parent_data emaca_free_mux[] = …;
static const struct clk_parent_data emacb_free_mux[] = …;
static const struct clk_parent_data emac_ptp_free_mux[] = …;
static const struct clk_parent_data gpio_db_free_mux[] = …;
static const struct clk_parent_data sdmmc_free_mux[] = …;
static const struct clk_parent_data s2f_usr1_free_mux[] = …;
static const struct clk_parent_data psi_ref_free_mux[] = …;
static const struct clk_parent_data mpu_mux[] = …;
static const struct clk_parent_data s2f_usr0_mux[] = …;
static const struct clk_parent_data emac_mux[] = …;
static const struct clk_parent_data noc_mux[] = …;
static const struct clk_parent_data mpu_free_mux[] = …;
static const struct clk_parent_data sdmmc_mux[] = …;
static const struct clk_parent_data s2f_user1_mux[] = …;
static const struct clk_parent_data psi_mux[] = …;
static const struct clk_parent_data gpio_db_mux[] = …;
static const struct clk_parent_data emac_ptp_mux[] = …;
static const struct stratix10_pll_clock s10_pll_clks[] = …;
static const struct stratix10_perip_c_clock s10_main_perip_c_clks[] = …;
static const struct stratix10_perip_cnt_clock s10_main_perip_cnt_clks[] = …;
static const struct stratix10_gate_clock s10_gate_clks[] = …;
static int s10_clk_register_c_perip(const struct stratix10_perip_c_clock *clks,
int nums, struct stratix10_clock_data *data)
{ … }
static int s10_clk_register_cnt_perip(const struct stratix10_perip_cnt_clock *clks,
int nums, struct stratix10_clock_data *data)
{ … }
static int s10_clk_register_gate(const struct stratix10_gate_clock *clks,
int nums, struct stratix10_clock_data *data)
{ … }
static int s10_clk_register_pll(const struct stratix10_pll_clock *clks,
int nums, struct stratix10_clock_data *data)
{ … }
static int s10_clkmgr_init(struct platform_device *pdev)
{ … }
static int s10_clkmgr_probe(struct platform_device *pdev)
{ … }
static const struct of_device_id stratix10_clkmgr_match_table[] = …;
static struct platform_driver stratix10_clkmgr_driver = …;
static int __init s10_clk_init(void)
{ … }
core_initcall(s10_clk_init);