#include <linux/gpio/consumer.h>
#include <linux/mdio.h>
#include <linux/module.h>
#include <linux/pcs/pcs-mtk-lynxi.h>
#include <linux/of_irq.h>
#include <linux/of_mdio.h>
#include <linux/of_net.h>
#include <linux/of_platform.h>
#include <linux/regmap.h>
#include <linux/reset.h>
#include <linux/regulator/consumer.h>
#include <net/dsa.h>
#include "mt7530.h"
static int
mt7530_regmap_write(void *context, unsigned int reg, unsigned int val)
{ … }
static int
mt7530_regmap_read(void *context, unsigned int reg, unsigned int *val)
{ … }
static void
mt7530_mdio_regmap_lock(void *mdio_lock)
{ … }
static void
mt7530_mdio_regmap_unlock(void *mdio_lock)
{ … }
static const struct regmap_bus mt7530_regmap_bus = …;
static int
mt7531_create_sgmii(struct mt7530_priv *priv)
{ … }
static const struct of_device_id mt7530_of_match[] = …;
MODULE_DEVICE_TABLE(of, mt7530_of_match);
static int
mt7530_probe(struct mdio_device *mdiodev)
{ … }
static void
mt7530_remove(struct mdio_device *mdiodev)
{ … }
static void mt7530_shutdown(struct mdio_device *mdiodev)
{ … }
static struct mdio_driver mt7530_mdio_driver = …;
mdio_module_driver(mt7530_mdio_driver);
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;