linux/drivers/clk/mediatek/clk-mt8135.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2014 MediaTek Inc.
 * Author: James Liao <[email protected]>
 */

#include <linux/clk.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/mfd/syscon.h>
#include <dt-bindings/clock/mt8135-clk.h>

#include "clk-gate.h"
#include "clk-mtk.h"
#include "clk-pll.h"

static DEFINE_SPINLOCK(mt8135_clk_lock);

static const struct mtk_fixed_factor top_divs[] =;

static const char * const axi_parents[] =;

static const char * const smi_parents[] =;

static const char * const mfg_parents[] =;

static const char * const irda_parents[] =;

static const char * const cam_parents[] =;

static const char * const aud_intbus_parents[] =;

static const char * const jpg_parents[] =;

static const char * const disp_parents[] =;

static const char * const msdc30_parents[] =;

static const char * const usb20_parents[] =;

static const char * const venc_parents[] =;

static const char * const spi_parents[] =;

static const char * const uart_parents[] =;

static const char * const mem_parents[] =;

static const char * const camtg_parents[] =;

static const char * const audio_parents[] =;

static const char * const fix_parents[] =;

static const char * const vdec_parents[] =;

static const char * const ddrphycfg_parents[] =;

static const char * const dpilvds_parents[] =;

static const char * const pmicspi_parents[] =;

static const char * const smi_mfg_as_parents[] =;

static const char * const gcpu_parents[] =;

static const char * const dpi1_parents[] =;

static const char * const cci_parents[] =;

static const char * const apll_parents[] =;

static const char * const hdmipll_parents[] =;

static const struct mtk_composite top_muxes[] =;

static const struct mtk_gate_regs infra_cg_regs =;

#define GATE_ICG(_id, _name, _parent, _shift)

#define GATE_ICG_AO(_id, _name, _parent, _shift)

static const struct mtk_gate infra_clks[] =;

static const struct mtk_gate_regs peri0_cg_regs =;

static const struct mtk_gate_regs peri1_cg_regs =;

#define GATE_PERI0(_id, _name, _parent, _shift)

#define GATE_PERI1(_id, _name, _parent, _shift)

static const struct mtk_gate peri_gates[] =;

static const char * const uart_ck_sel_parents[] =;

static const struct mtk_composite peri_clks[] =;

static u16 infrasys_rst_ofs[] =;
static u16 pericfg_rst_ofs[] =;

static const struct mtk_clk_rst_desc clk_rst_desc[] =;

static const struct mtk_clk_desc infra_desc =;

static const struct mtk_clk_desc peri_desc =;

static const struct mtk_clk_desc topck_desc =;

static const struct of_device_id of_match_clk_mt8135[] =;
MODULE_DEVICE_TABLE(of, of_match_clk_mt8135);

static struct platform_driver clk_mt8135_drv =;
module_platform_driver();

MODULE_DESCRIPTION();
MODULE_LICENSE();