linux/drivers/clk/socfpga/clk-agilex.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (C) 2019, Intel Corporation
 */
#include <linux/slab.h>
#include <linux/clk-provider.h>
#include <linux/of.h>
#include <linux/platform_device.h>

#include <dt-bindings/clock/agilex-clock.h>

#include "stratix10-clk.h"

static const struct clk_parent_data pll_mux[] =;

static const struct clk_parent_data boot_mux[] =;

static const struct clk_parent_data mpu_free_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 psi_ref_free_mux[] =;

static const struct clk_parent_data sdmmc_free_mux[] =;

static const struct clk_parent_data s2f_usr0_free_mux[] =;

static const struct clk_parent_data s2f_usr1_free_mux[] =;

static const struct clk_parent_data mpu_mux[] =;

static const struct clk_parent_data emac_mux[] =;

static const struct clk_parent_data noc_mux[] =;

static const struct clk_parent_data sdmmc_mux[] =;

static const struct clk_parent_data s2f_user0_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[] =;

/* clocks in AO (always on) controller */
static const struct stratix10_pll_clock agilex_pll_clks[] =;

static const struct n5x_perip_c_clock n5x_main_perip_c_clks[] =;

static const struct stratix10_perip_c_clock agilex_main_perip_c_clks[] =;

static const struct stratix10_perip_cnt_clock agilex_main_perip_cnt_clks[] =;

static const struct stratix10_gate_clock agilex_gate_clks[] =;

static int n5x_clk_register_c_perip(const struct n5x_perip_c_clock *clks,
				       int nums, struct stratix10_clock_data *data)
{}

static int agilex_clk_register_c_perip(const struct stratix10_perip_c_clock *clks,
				       int nums, struct stratix10_clock_data *data)
{}

static int agilex_clk_register_cnt_perip(const struct stratix10_perip_cnt_clock *clks,
					 int nums, struct stratix10_clock_data *data)
{}

static int agilex_clk_register_gate(const struct stratix10_gate_clock *clks,
				    int nums, struct stratix10_clock_data *data)
{}

static int agilex_clk_register_pll(const struct stratix10_pll_clock *clks,
				 int nums, struct stratix10_clock_data *data)
{}

static int n5x_clk_register_pll(const struct stratix10_pll_clock *clks,
				 int nums, struct stratix10_clock_data *data)
{}

static int agilex_clkmgr_init(struct platform_device *pdev)
{}

static int n5x_clkmgr_init(struct platform_device *pdev)
{}

static int agilex_clkmgr_probe(struct platform_device *pdev)
{}

static const struct of_device_id agilex_clkmgr_match_table[] =;

static struct platform_driver agilex_clkmgr_driver =;

static int __init agilex_clk_init(void)
{}
core_initcall(agilex_clk_init);