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

// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (C) 2018 MediaTek Inc.
 * Author: Wenzhen Yu <Wenzhen [email protected]>
 *	   Ryder Lee <[email protected]>
 */

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

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

#include <dt-bindings/clock/mt7629-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[2][4] =;

static u16 rst_ofs[] =;

static const struct mtk_clk_rst_desc clk_rst_desc =;

static int clk_mt7629_ethsys_init(struct platform_device *pdev)
{}

static int clk_mt7629_sgmiisys_init(struct platform_device *pdev)
{}

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

static int clk_mt7629_eth_probe(struct platform_device *pdev)
{}

static struct platform_driver clk_mt7629_eth_drv =;

builtin_platform_driver();

MODULE_DESCRIPTION();
MODULE_LICENSE();