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

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2022 Collabora Ltd.
 * Author: AngeloGioacchino Del Regno <[email protected]>
 */

#include <dt-bindings/clock/mediatek,mt6795-clk.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include "clk-fhctl.h"
#include "clk-mtk.h"
#include "clk-pll.h"
#include "clk-pllfh.h"

#define REG_REF2USB
#define REG_AP_PLL_CON7
 #define MD1_MTCMOS_OFF
 #define MD1_MEM_OFF
 #define MD1_CLK_OFF
 #define MD1_ISO_OFF

#define MT6795_PLL_FMAX
#define MT6795_CON0_EN
#define MT6795_CON0_RST_BAR

#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[] =;

enum fh_pll_id {};

#define _FH(_pllid, _fhid, _slope, _offset)

#define FH(_pllid, _fhid, _offset)
#define FH_M(_pllid, _fhid, _offset)

static struct mtk_pllfh_data pllfhs[] =;

static void clk_mt6795_apmixed_setup_md1(void __iomem *base)
{}

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

static int clk_mt6795_apmixed_probe(struct platform_device *pdev)
{}

static void clk_mt6795_apmixed_remove(struct platform_device *pdev)
{}

static struct platform_driver clk_mt6795_apmixed_drv =;
module_platform_driver();

MODULE_DESCRIPTION();
MODULE_LICENSE();