mirror of
https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9.git
synced 2026-09-09 00:08:12 +08:00
JIRA: https://issues.redhat.com/browse/RHEL-100498 commit 7dc54d3b8d9100c65b0860f76342fc9f3b4694d9 Author: Clément Léger <clement.leger@bootlin.com> Date: Fri Jun 24 16:39:50 2022 +0200 net: pcs: add Renesas MII converter driver Add a PCS driver for the MII converter that is present on the Renesas RZ/N1 SoC. This MII converter is reponsible for converting MII to RMII/RGMII or act as a MII pass-trough. Exposing it as a PCS allows to reuse it in both the switch driver and the stmmac driver. Currently, this driver only allows the PCS to be used by the dual Cortex-A7 subsystem since the register locking system is not used. Signed-off-by: Clément Léger <clement.leger@bootlin.com> Reviewed-by: Vladimir Oltean <olteanv@gmail.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Izabela Bakollari <ibakolla@redhat.com>
19 lines
385 B
C
19 lines
385 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (C) 2022 Schneider Electric
|
|
*
|
|
* Clément Léger <clement.leger@bootlin.com>
|
|
*/
|
|
|
|
#ifndef __LINUX_PCS_MIIC_H
|
|
#define __LINUX_PCS_MIIC_H
|
|
|
|
struct phylink;
|
|
struct device_node;
|
|
|
|
struct phylink_pcs *miic_create(struct device *dev, struct device_node *np);
|
|
|
|
void miic_destroy(struct phylink_pcs *pcs);
|
|
|
|
#endif /* __LINUX_PCS_MIIC_H */
|