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

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2017 MediaTek Inc.
 * Author: Chen Zhong <[email protected]>
 *	   Sean Wang <[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/mt7622-clk.h>

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

static const struct mtk_gate_regs eth_cg_regs =;

static const struct mtk_gate eth_clks[] =;

static const struct mtk_gate_regs sgmii_cg_regs =;

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

static const struct mtk_gate sgmii_clks[] =;

static u16 rst_ofs[] =;

static const struct mtk_clk_rst_desc clk_rst_desc =;

static const struct mtk_clk_desc eth_desc =;

static const struct mtk_clk_desc sgmii_desc =;

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

static struct platform_driver clk_mt7622_eth_drv =;
module_platform_driver();

MODULE_DESCRIPTION();
MODULE_LICENSE();