]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: lan969x: add RGMII registers
authorDaniel Machon <daniel.machon@microchip.com>
Fri, 20 Dec 2024 13:48:46 +0000 (14:48 +0100)
committerJakub Kicinski <kuba@kernel.org>
Mon, 23 Dec 2024 18:57:55 +0000 (10:57 -0800)
commitfb6ac1829bb5865768e75517aefb416a3a19569e
tree26578b95aedb6cd795ea708a4adda773fa3b7de0
parent95e467b85e6930d34093b7770c7ed964113589b0
net: lan969x: add RGMII registers

Configuration of RGMII is done by configuring the GPIO and clock
settings in the HSIOWRAP target, and configuring the RGMII port devices
in the DEVRGMII target. Both targets contain registers replicated for
the number of RGMII port devices, which is two.

Add said targets and register macros required to configure RGMII.

Reviewed-by: Steen Hegelund <Steen.Hegelund@microchip.com>
Reviewed-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Tested-by: Robert Marko <robert.marko@sartura.hr>
Signed-off-by: Daniel Machon <daniel.machon@microchip.com>
Link: https://patch.msgid.link/20241220-sparx5-lan969x-switch-driver-4-v5-7-fa8ba5dff732@microchip.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/microchip/sparx5/lan969x/lan969x.c
drivers/net/ethernet/microchip/sparx5/sparx5_main_regs.h