blob: 1ce699740af639bca3f3304d6a98aed8229cb97b [file] [log] [blame]
Colin Fosterb9965842021-11-28 17:57:37 -08001/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */
2/*
3 * Driver for the MDIO interface of Microsemi network switches.
4 *
5 * Author: Colin Foster <[email protected]>
6 * Copyright (C) 2021 Innovative Advantage
7 */
8#ifndef MDIO_MSCC_MIIM_H
9#define MDIO_MSCC_MIIM_H
10
11#include <linux/device.h>
12#include <linux/phy.h>
13#include <linux/regmap.h>
14
15int mscc_miim_setup(struct device *device, struct mii_bus **bus,
16 const char *name, struct regmap *mii_regmap,
Vladimir Oltean9df677d2023-02-24 17:52:33 +020017 int status_offset, bool ignore_read_errors);
Colin Fosterb9965842021-11-28 17:57:37 -080018
19#endif