linux/drivers/clk/imgtec/clk-boston.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * Copyright (C) 2016-2017 Imagination Technologies
 * Author: Paul Burton <[email protected]>
 */

#define pr_fmt(fmt)

#include <linux/clk-provider.h>
#include <linux/kernel.h>
#include <linux/of.h>
#include <linux/regmap.h>
#include <linux/slab.h>
#include <linux/mfd/syscon.h>

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

#define BOSTON_PLAT_MMCMDIV
#define BOSTON_PLAT_MMCMDIV_CLK0DIV
#define BOSTON_PLAT_MMCMDIV_INPUT
#define BOSTON_PLAT_MMCMDIV_MUL
#define BOSTON_PLAT_MMCMDIV_CLK1DIV

#define BOSTON_CLK_COUNT

static u32 ext_field(u32 val, u32 mask)
{}

static void __init clk_boston_setup(struct device_node *np)
{}

/*
 * Use CLK_OF_DECLARE so that this driver is probed early enough to provide the
 * CPU frequency for use with the GIC or cop0 counters/timers.
 */
CLK_OF_DECLARE(clk_boston, "img,boston-clock", clk_boston_setup);