linux/drivers/clk/mediatek/clk-mt7981-apmixed.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (c) 2021 MediaTek Inc.
 * Author: Sam Shih <[email protected]>
 * Author: Wenzhen Yu <[email protected]>
 * Author: Jianhui Zhao <[email protected]>
 * Author: Daniel Golle <[email protected]>
 */

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

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

#include <dt-bindings/clock/mediatek,mt7981-clk.h>
#include <linux/clk.h>

#define MT7981_PLL_FMAX
#define CON0_MT7981_RST_BAR

#define PLL_xtal(_id, _name, _reg, _pwr_reg, _en_mask, _flags, _pcwbits,       \
		 _pd_reg, _pd_shift, _tuner_reg, _pcw_reg, _pcw_shift,         \
		 _div_table, _parent_name)

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

static const struct mtk_pll_data plls[] =;

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

static int clk_mt7981_apmixed_probe(struct platform_device *pdev)
{}

static struct platform_driver clk_mt7981_apmixed_drv =;
builtin_platform_driver();

MODULE_DESCRIPTION();
MODULE_LICENSE();