#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-nsp.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 ENABLE_VAL(o, es, hs, bs) …
static void __init nsp_armpll_init(struct device_node *node)
{ … }
CLK_OF_DECLARE(nsp_armpll, "brcm,nsp-armpll", nsp_armpll_init);
static const struct iproc_pll_ctrl genpll = …;
static const struct iproc_clk_ctrl genpll_clk[] = …;
static void __init nsp_genpll_clk_init(struct device_node *node)
{ … }
CLK_OF_DECLARE(nsp_genpll_clk, "brcm,nsp-genpll", nsp_genpll_clk_init);
static const struct iproc_pll_ctrl lcpll0 = …;
static const struct iproc_clk_ctrl lcpll0_clk[] = …;
static void __init nsp_lcpll0_clk_init(struct device_node *node)
{ … }
CLK_OF_DECLARE(nsp_lcpll0_clk, "brcm,nsp-lcpll0", nsp_lcpll0_clk_init);