summaryrefslogtreecommitdiff
path: root/drivers/net/pcs/Kconfig
diff options
context:
space:
mode:
authorClément Léger <clement.leger@bootlin.com>2022-06-24 17:39:50 +0300
committerDavid S. Miller <davem@davemloft.net>2022-06-27 13:37:55 +0300
commit7dc54d3b8d9100c65b0860f76342fc9f3b4694d9 (patch)
tree81b0e3b37e76f5437cfc3235ebf12652147f7504 /drivers/net/pcs/Kconfig
parentc823c2bf91568f3e473479e25dcc225a5be4b7b1 (diff)
downloadlinux-7dc54d3b8d9100c65b0860f76342fc9f3b4694d9.tar.xz
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>
Diffstat (limited to 'drivers/net/pcs/Kconfig')
-rw-r--r--drivers/net/pcs/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/pcs/Kconfig b/drivers/net/pcs/Kconfig
index f778e5155fae..6289b7c765f1 100644
--- a/drivers/net/pcs/Kconfig
+++ b/drivers/net/pcs/Kconfig
@@ -18,4 +18,12 @@ config PCS_LYNX
This module provides helpers to phylink for managing the Lynx PCS
which is part of the Layerscape and QorIQ Ethernet SERDES.
+config PCS_RZN1_MIIC
+ tristate "Renesas RZ/N1 MII converter"
+ depends on OF && (ARCH_RZN1 || COMPILE_TEST)
+ help
+ This module provides a driver for the MII converter that is available
+ on RZ/N1 SoCs. This PCS converts MII to RMII/RGMII or can be set in
+ pass-through mode for MII.
+
endmenu