#include <linux/clk-provider.h>
#include <linux/err.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include "icst.h"
#include "clk-icst.h"
#define INTEGRATOR_HDR_LOCK_OFFSET …
#define VERSATILE_SYS_OSCCLCD_OFFSET …
#define VERSATILE_SYS_LOCK_OFFSET …
static void __iomem *cm_base;
static const struct icst_params cp_auxosc_params = …;
static const struct clk_icst_desc cm_auxosc_desc __initconst = …;
static const struct icst_params versatile_auxosc_params = …;
static const struct clk_icst_desc versatile_auxosc_desc __initconst = …;
static void __init cm_osc_setup(struct device_node *np,
const struct clk_icst_desc *desc)
{ … }
static void __init of_integrator_cm_osc_setup(struct device_node *np)
{ … }
CLK_OF_DECLARE(integrator_cm_auxosc_clk,
"arm,integrator-cm-auxosc", of_integrator_cm_osc_setup);
static void __init of_versatile_cm_osc_setup(struct device_node *np)
{ … }
CLK_OF_DECLARE(versatile_cm_auxosc_clk,
"arm,versatile-cm-auxosc", of_versatile_cm_osc_setup);