linux/drivers/clk/renesas/r9a07g044-cpg.c

// SPDX-License-Identifier: GPL-2.0
/*
 * RZ/G2L CPG driver
 *
 * Copyright (C) 2021 Renesas Electronics Corp.
 */

#include <linux/clk-provider.h>
#include <linux/device.h>
#include <linux/init.h>
#include <linux/kernel.h>

#include <dt-bindings/clock/r9a07g044-cpg.h>
#include <dt-bindings/clock/r9a07g054-cpg.h>

#include "rzg2l-cpg.h"

/* Specific registers. */
#define CPG_PL2SDHI_DSEL

/* Clock select configuration. */
#define SEL_SDHI0
#define SEL_SDHI1

/* Clock status configuration. */
#define SEL_SDHI0_STS
#define SEL_SDHI1_STS

enum clk_ids {};

/* Divider tables */
static const struct clk_div_table dtable_1_8[] =;

static const struct clk_div_table dtable_1_32[] =;

static const struct clk_div_table dtable_16_128[] =;

/* Mux clock tables */
static const char * const sel_pll3_3[] =;
static const char * const sel_pll5_4[] =;
static const char * const sel_pll6_2[]	=;
static const char * const sel_sdhi[] =;
static const char * const sel_gpu2[] =;

static const u32 mtable_sdhi[] =;

static const struct {} core_clks __initconst =;

static const struct {} mod_clks =;

static const struct rzg2l_reset r9a07g044_resets[] =;

static const unsigned int r9a07g044_crit_mod_clks[] __initconst =;

static const unsigned int r9a07g044_no_pm_mod_clks[] =;

#ifdef CONFIG_CLK_R9A07G044
const struct rzg2l_cpg_info r9a07g044_cpg_info =;
#endif

#ifdef CONFIG_CLK_R9A07G054
const struct rzg2l_cpg_info r9a07g054_cpg_info =;
#endif