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

// SPDX-License-Identifier: GPL-2.0-only
//
// Copyright (c) 2022 MediaTek Inc.
// Author: Chun-Jie Chen <[email protected]>

#include <linux/clk-provider.h>
#include <linux/platform_device.h>
#include <dt-bindings/clock/mt8186-clk.h>

#include "clk-mtk.h"
#include "clk-mux.h"

static DEFINE_SPINLOCK(mt8186_clk_lock);

static const struct mtk_fixed_clk top_fixed_clks[] =;

static const struct mtk_fixed_factor top_divs[] =;

static const char * const axi_parents[] =;

static const char * const scp_parents[] =;

static const char * const mfg_parents[] =;

static const char * const camtg_parents[] =;

static const char * const uart_parents[] =;

static const char * const spi_parents[] =;

static const char * const msdc5hclk_parents[] =;

static const char * const msdc50_0_parents[] =;

static const char * const msdc30_1_parents[] =;

static const char * const audio_parents[] =;

static const char * const aud_intbus_parents[] =;

static const char * const aud_1_parents[] =;

static const char * const aud_2_parents[] =;

static const char * const aud_engen1_parents[] =;

static const char * const aud_engen2_parents[] =;

static const char * const disp_pwm_parents[] =;

static const char * const sspm_parents[] =;

static const char * const dxcc_parents[] =;

static const char * const usb_parents[] =;

static const char * const srck_parents[] =;

static const char * const spm_parents[] =;

static const char * const i2c_parents[] =;

static const char * const pwm_parents[] =;

static const char * const seninf_parents[] =;

static const char * const aes_msdcfde_parents[] =;

static const char * const pwrap_ulposc_parents[] =;

static const char * const camtm_parents[] =;

static const char * const venc_parents[] =;

static const char * const isp_parents[] =;

static const char * const dpmaif_parents[] =;

static const char * const vdec_parents[] =;

static const char * const disp_parents[] =;

static const char * const mdp_parents[] =;

static const char * const audio_h_parents[] =;

static const char * const ufs_parents[] =;

static const char * const aes_fde_parents[] =;

static const char * const audiodsp_parents[] =;

static const char * const dvfsrc_parents[] =;

static const char * const dsi_occ_parents[] =;

static const char * const spmi_mst_parents[] =;

static const char * const spinor_parents[] =;

static const char * const nna_parents[] =;

static const char * const nna2_parents[] =;

static const char * const ssusb_parents[] =;

static const char * const wpe_parents[] =;

static const char * const dpi_parents[] =;

static const char * const u3_occ_250m_parents[] =;

static const char * const u3_occ_500m_parents[] =;

static const char * const adsp_bus_parents[] =;

static const char * const apll_mck_parents[] =;

static const struct mtk_mux top_mtk_muxes[] =;

static struct mtk_composite top_muxes[] =;

/* Register mux notifier for MFG mux */
static int clk_mt8186_reg_mfg_mux_notifier(struct device *dev, struct clk *clk)
{}

static const struct mtk_clk_desc topck_desc =;

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

static struct platform_driver clk_mt8186_topck_drv =;
module_platform_driver();

MODULE_DESCRIPTION();
MODULE_LICENSE();