1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Driver for MMIO-Mapped MDIO devices. Some IPs expose internal PHYs or PCS
3 * within the MMIO-mapped area
5 * Copyright (C) 2023 Maxime Chevallier <maxime.chevallier@bootlin.com>
10 #include <linux/phy.h>
15 struct mdio_regmap_config {
16 struct device *parent;
17 struct regmap *regmap;
18 char name[MII_BUS_ID_SIZE];
23 struct mii_bus *devm_mdio_regmap_register(struct device *dev,
24 const struct mdio_regmap_config *config);