linux/drivers/clk/mediatek/clk-mt7986-eth.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (c) 2021 MediaTek Inc.
 * Author: Sam Shih <[email protected]>
 * Author: Wenzhen Yu <[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 <dt-bindings/clock/mt7986-clk.h>

static const struct mtk_gate_regs sgmii0_cg_regs =;

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

static const struct mtk_gate sgmii0_clks[] =;

static const struct mtk_gate_regs sgmii1_cg_regs =;

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

static const struct mtk_gate sgmii1_clks[] =;

static const struct mtk_gate_regs eth_cg_regs =;

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

static const struct mtk_gate eth_clks[] =;

static const struct mtk_clk_desc eth_desc =;

static const struct mtk_clk_desc sgmii0_desc =;

static const struct mtk_clk_desc sgmii1_desc =;

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

static struct platform_driver clk_mt7986_eth_drv =;
module_platform_driver();

MODULE_DESCRIPTION();
MODULE_LICENSE();