linux/drivers/clk/mediatek/clk-mt2712-apmixedsys.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2017 MediaTek Inc.
 *                    Weiyi Lu <[email protected]>
 * Copyright (c) 2023 Collabora Ltd.
 *                    AngeloGioacchino Del Regno <[email protected]>
 */
#include <linux/clk.h>
#include <linux/of.h>
#include <linux/platform_device.h>

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

#include <dt-bindings/clock/mt2712-clk.h>

#define MT2712_PLL_FMAX

#define CON0_MT2712_RST_BAR

#define PLL_B(_id, _name, _reg, _pwr_reg, _en_mask, _flags, _pcwbits,	\
			_pd_reg, _pd_shift, _tuner_reg, _tuner_en_reg,	\
			_tuner_en_bit, _pcw_reg, _pcw_shift,		\
			_div_table)

#define PLL(_id, _name, _reg, _pwr_reg, _en_mask, _flags, _pcwbits,	\
			_pd_reg, _pd_shift, _tuner_reg, _tuner_en_reg,	\
			_tuner_en_bit, _pcw_reg, _pcw_shift)

static const struct mtk_pll_div_table armca35pll_div_table[] =;

static const struct mtk_pll_div_table armca72pll_div_table[] =;

static const struct mtk_pll_div_table mmpll_div_table[] =;

static const struct mtk_pll_data plls[] =;

static int clk_mt2712_apmixed_probe(struct platform_device *pdev)
{}

static void clk_mt2712_apmixed_remove(struct platform_device *pdev)
{}

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

static struct platform_driver clk_mt2712_apmixed_drv =;
module_platform_driver()

MODULE_DESCRIPTION();
MODULE_LICENSE();