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

// SPDX-License-Identifier: GPL-2.0-only
// Copyright (C) 2015 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/of_address.h>

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

#define REG_VAL(o, s, w)

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

#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)

static const struct iproc_pll_ctrl genpll_scr =;


static const struct iproc_clk_ctrl genpll_scr_clk[] =;

static void __init ns2_genpll_scr_clk_init(struct device_node *node)
{}
CLK_OF_DECLARE(ns2_genpll_src_clk, "brcm,ns2-genpll-scr",
	       ns2_genpll_scr_clk_init);

static const struct iproc_pll_ctrl genpll_sw =;

static const struct iproc_clk_ctrl genpll_sw_clk[] =;

static void __init ns2_genpll_sw_clk_init(struct device_node *node)
{}
CLK_OF_DECLARE(ns2_genpll_sw_clk, "brcm,ns2-genpll-sw",
	       ns2_genpll_sw_clk_init);

static const struct iproc_pll_ctrl lcpll_ddr =;

static const struct iproc_clk_ctrl lcpll_ddr_clk[] =;

static void __init ns2_lcpll_ddr_clk_init(struct device_node *node)
{}
CLK_OF_DECLARE(ns2_lcpll_ddr_clk, "brcm,ns2-lcpll-ddr",
	       ns2_lcpll_ddr_clk_init);

static const struct iproc_pll_ctrl lcpll_ports =;

static const struct iproc_clk_ctrl lcpll_ports_clk[] =;

static void __init ns2_lcpll_ports_clk_init(struct device_node *node)
{}
CLK_OF_DECLARE(ns2_lcpll_ports_clk, "brcm,ns2-lcpll-ports",
	       ns2_lcpll_ports_clk_init);