linux/drivers/clk/versatile/clk-versatile.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Clock driver for the ARM Integrator/AP, Integrator/CP, Versatile AB and
 * Versatile PB boards.
 * Copyright (C) 2012 Linus Walleij
 */
#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

/* Base offset for the core module */
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);