linux/drivers/clk/mediatek/clk-mt7981-infracfg.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-mtk.h"
#include "clk-gate.h"
#include "clk-mux.h"

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

static DEFINE_SPINLOCK(mt7981_clk_lock);

static const struct mtk_fixed_factor infra_divs[] =;

static const char *const infra_uart_parent[] __initconst =;

static const char *const infra_spi0_parents[] __initconst =;

static const char *const infra_spi1_parents[] __initconst =;

static const char *const infra_pwm1_parents[] __initconst =;

static const char *const infra_pwm_bsel_parents[] __initconst =;

static const char *const infra_pcie_parents[] __initconst =;

static const struct mtk_mux infra_muxes[] =;

static const struct mtk_gate_regs infra0_cg_regs =;

static const struct mtk_gate_regs infra1_cg_regs =;

static const struct mtk_gate_regs infra2_cg_regs =;

#define GATE_INFRA0(_id, _name, _parent, _shift)

#define GATE_INFRA1(_id, _name, _parent, _shift)

#define GATE_INFRA2(_id, _name, _parent, _shift)

static const struct mtk_gate infra_clks[] =;

static const struct mtk_clk_desc infracfg_desc =;

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

static struct platform_driver clk_mt7981_infracfg_drv =;
module_platform_driver();

MODULE_DESCRIPTION();
MODULE_LICENSE();