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

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2017 MediaTek Inc.
 * Author: Chen Zhong <[email protected]>
 *	   Sean Wang <[email protected]>
 */

#include <linux/clk-provider.h>
#include <linux/mod_devicetable.h>
#include <linux/platform_device.h>

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

#include <dt-bindings/clock/mt7622-clk.h>
#include <linux/clk.h> /* for consumer */

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

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

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

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

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

static DEFINE_SPINLOCK(mt7622_clk_lock);

static const char * const axi_parents[] =;

static const char * const mem_parents[] =;

static const char * const ddrphycfg_parents[] =;

static const char * const eth_parents[] =;

static const char * const pwm_parents[] =;

static const char * const f10m_ref_parents[] =;

static const char * const nfi_infra_parents[] =;

static const char * const flash_parents[] =;

static const char * const uart_parents[] =;

static const char * const spi0_parents[] =;

static const char * const spi1_parents[] =;

static const char * const msdc30_0_parents[] =;

static const char * const a1sys_hp_parents[] =;

static const char * const intdir_parents[] =;

static const char * const aud_intbus_parents[] =;

static const char * const pmicspi_parents[] =;

static const char * const atb_parents[] =;

static const char * const audio_parents[] =;

static const char * const usb20_parents[] =;

static const char * const aud1_parents[] =;

static const char * const aud2_parents[] =;

static const char * const asm_l_parents[] =;

static const char * const apll1_ck_parents[] =;

static const char * const peribus_ck_parents[] =;

static const struct mtk_gate_regs top0_cg_regs =;

static const struct mtk_gate_regs top1_cg_regs =;

static const struct mtk_gate_regs peri0_cg_regs =;

static const struct mtk_gate_regs peri1_cg_regs =;

static const struct mtk_fixed_clk top_fixed_clks[] =;

static const struct mtk_fixed_factor top_divs[] =;

static const struct mtk_gate top_clks[] =;

static const struct mtk_clk_divider top_adj_divs[] =;

static const struct mtk_gate peri_clks[] =;

static struct mtk_composite top_muxes[] =;

static struct mtk_composite peri_muxes[] =;

static u16 pericfg_rst_ofs[] =;

static const struct mtk_clk_rst_desc clk_rst_desc =;

static const struct mtk_clk_desc topck_desc =;

static const struct mtk_clk_desc peri_desc =;

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

static struct platform_driver clk_mt7622_drv =;
module_platform_driver()

MODULE_DESCRIPTION();
MODULE_LICENSE();