linux/drivers/clk/mediatek/clk-mt7988-topckgen.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (c) 2023 MediaTek Inc.
 * Author: Sam Shih <[email protected]>
 * Author: Xiufeng Li <[email protected]>
 */

#include <linux/clk-provider.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/of_device.h>
#include <linux/platform_device.h>
#include "clk-mtk.h"
#include "clk-gate.h"
#include "clk-mux.h"
#include <dt-bindings/clock/mediatek,mt7988-clk.h>

static DEFINE_SPINLOCK(mt7988_clk_lock);

static const struct mtk_fixed_clk top_fixed_clks[] =;

static const struct mtk_fixed_factor top_divs[] =;

static const char *const netsys_parents[] =;
static const char *const netsys_500m_parents[] =;
static const char *const netsys_2x_parents[] =;
static const char *const netsys_gsw_parents[] =;
static const char *const eth_gmii_parents[] =;
static const char *const netsys_mcu_parents[] =;
static const char *const eip197_parents[] =;
static const char *const axi_infra_parents[] =;
static const char *const uart_parents[] =;
static const char *const emmc_250m_parents[] =;
static const char *const emmc_400m_parents[] =;
static const char *const spi_parents[] =;
static const char *const nfi1x_parents[] =;
static const char *const spinfi_parents[] =;
static const char *const pwm_parents[] =;
static const char *const i2c_parents[] =;
static const char *const pcie_mbist_250m_parents[] =;
static const char *const pextp_tl_ck_parents[] =;
static const char *const usb_frmcnt_parents[] =;
static const char *const aud_parents[] =;
static const char *const a1sys_parents[] =;
static const char *const aud_l_parents[] =;
static const char *const sspxtp_parents[] =;
static const char *const usxgmii_sbus_0_parents[] =;
static const char *const sgm_0_parents[] =;
static const char *const sysapb_parents[] =;
static const char *const eth_refck_50m_parents[] =;
static const char *const eth_sys_200m_parents[] =;
static const char *const eth_xgmii_parents[] =;
static const char *const bus_tops_parents[] =;
static const char *const npu_tops_parents[] =;
static const char *const dramc_md32_parents[] =;
static const char *const da_xtp_glb_p0_parents[] =;
static const char *const mcusys_backup_625m_parents[] =;
static const char *const macsec_parents[] =;
static const char *const netsys_tops_400m_parents[] =;
static const char *const eth_mii_parents[] =;

static const struct mtk_mux top_muxes[] =;

static const struct mtk_composite top_aud_divs[] =;

static const struct mtk_clk_desc topck_desc =;

static const char *const mcu_bus_div_parents[] =;

static const char *const mcu_arm_div_parents[] =;

static struct mtk_composite mcu_muxes[] =;

static const struct mtk_clk_desc mcusys_desc =;

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

static struct platform_driver clk_mt7988_topckgen_drv =;
module_platform_driver();

MODULE_DESCRIPTION();
MODULE_LICENSE();