linux/drivers/clk/bcm/clk-cygnus.c

// SPDX-License-Identifier: GPL-2.0-only
// Copyright (C) 2014 Broadcom Corporation

#include <linux/kernel.h>
#include <linux/err.h>
#include <linux/clk-provider.h>
#include <linux/io.h>
#include <linux/of.h>
#include <linux/clkdev.h>
#include <linux/of_address.h>
#include <linux/delay.h>

#include <dt-bindings/clock/bcm-cygnus.h>
#include "clk-iproc.h"

#define REG_VAL(o, s, w)

#define AON_VAL(o, pw, ps, is)

#define SW_CTRL_VAL(o, s)

#define ASIU_DIV_VAL(o, es, hs, hw, ls, lw)

#define RESET_VAL(o, rs, prs)

#define DF_VAL(o, kis, kiw, kps, kpw, kas, kaw)

#define VCO_CTRL_VAL(uo, lo)

#define ENABLE_VAL(o, es, hs, bs)

#define ASIU_GATE_VAL(o, es)

static void __init cygnus_armpll_init(struct device_node *node)
{}
CLK_OF_DECLARE(cygnus_armpll, "brcm,cygnus-armpll", cygnus_armpll_init);

static const struct iproc_pll_ctrl genpll =;

static const struct iproc_clk_ctrl genpll_clk[] =;

static void __init cygnus_genpll_clk_init(struct device_node *node)
{}
CLK_OF_DECLARE(cygnus_genpll, "brcm,cygnus-genpll", cygnus_genpll_clk_init);

static const struct iproc_pll_ctrl lcpll0 =;

static const struct iproc_clk_ctrl lcpll0_clk[] =;

static void __init cygnus_lcpll0_clk_init(struct device_node *node)
{}
CLK_OF_DECLARE(cygnus_lcpll0, "brcm,cygnus-lcpll0", cygnus_lcpll0_clk_init);

/*
 * MIPI PLL VCO frequency parameter table
 */
static const struct iproc_pll_vco_param mipipll_vco_params[] =;

static const struct iproc_pll_ctrl mipipll =;

static const struct iproc_clk_ctrl mipipll_clk[] =;

static void __init cygnus_mipipll_clk_init(struct device_node *node)
{}
CLK_OF_DECLARE(cygnus_mipipll, "brcm,cygnus-mipipll", cygnus_mipipll_clk_init);

static const struct iproc_asiu_div asiu_div[] =;

static const struct iproc_asiu_gate asiu_gate[] =;

static void __init cygnus_asiu_init(struct device_node *node)
{}
CLK_OF_DECLARE(cygnus_asiu_clk, "brcm,cygnus-asiu-clk", cygnus_asiu_init);

static const struct iproc_pll_ctrl audiopll =;

static const struct iproc_clk_ctrl audiopll_clk[] =;

static void __init cygnus_audiopll_clk_init(struct device_node *node)
{}
CLK_OF_DECLARE(cygnus_audiopll, "brcm,cygnus-audiopll",
			cygnus_audiopll_clk_init);