linux/drivers/clk/renesas/clk-emev2.c

// SPDX-License-Identifier: GPL-2.0
/*
 * EMMA Mobile EV2 common clock framework support
 *
 * Copyright (C) 2013 Takashi Yoshii <[email protected]>
 * Copyright (C) 2012 Magnus Damm
 */
#include <linux/clk-provider.h>
#include <linux/io.h>
#include <linux/of.h>
#include <linux/of_address.h>

/* EMEV2 SMU registers */
#define USIAU0_RSTCTRL
#define USIBU1_RSTCTRL
#define USIBU2_RSTCTRL
#define USIBU3_RSTCTRL
#define IIC0_RSTCTRL
#define IIC1_RSTCTRL
#define STI_RSTCTRL
#define STI_CLKSEL

static DEFINE_SPINLOCK(lock);

/* not pretty, but hey */
static void __iomem *smu_base;

static void __init emev2_smu_write(unsigned long value, int offs)
{}

static const struct of_device_id smu_id[] __initconst =;

static void __init emev2_smu_init(void)
{}

static void __init emev2_smu_clkdiv_init(struct device_node *np)
{}
CLK_OF_DECLARE(emev2_smu_clkdiv, "renesas,emev2-smu-clkdiv",
		emev2_smu_clkdiv_init);

static void __init emev2_smu_gclk_init(struct device_node *np)
{}
CLK_OF_DECLARE(emev2_smu_gclk, "renesas,emev2-smu-gclk", emev2_smu_gclk_init);