mdio-mscc-miim.h 523 B

12345678910111213141516171819
  1. /* 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. #include <linux/device.h>
  11. #include <linux/phy.h>
  12. #include <linux/regmap.h>
  13. int mscc_miim_setup(struct device *device, struct mii_bus **bus,
  14. const char *name, struct regmap *mii_regmap,
  15. int status_offset, bool ignore_read_errors);
  16. #endif