]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: lan969x: add register diffs to match data
authorDaniel Machon <daniel.machon@microchip.com>
Wed, 23 Oct 2024 22:01:26 +0000 (00:01 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 31 Oct 2024 01:08:05 +0000 (18:08 -0700)
commit69b614251784fb0c2baf8729c041326a5bb42720
tree2a2fc20395f27e8b7ed367cf5e810d8ccf50b087
parent7280f01e79ccc002de17a8c40711e855943d8b13
net: lan969x: add register diffs to match data

Add new file lan969x_regs.c that defines all the register differences
for lan969x, and add it to the lan969x match data.

GW_DEV2G5_PHASE_DETECTOR_CTRL, FP_DEV2G5_PHAD_CTRL_PHAD_ENA and
FP_DEV2G5_PHAD_CTRL_PHAD_FAILED are required by the new register macros
which was introduced earlier. Add these for Sparx5 also.

Reviewed-by: Steen Hegelund <Steen.Hegelund@microchip.com>
Signed-off-by: Daniel Machon <daniel.machon@microchip.com>
Link: https://patch.msgid.link/20241024-sparx5-lan969x-switch-driver-2-v2-7-a0b5fae88a0f@microchip.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/microchip/lan969x/Makefile
drivers/net/ethernet/microchip/lan969x/lan969x.c
drivers/net/ethernet/microchip/lan969x/lan969x.h
drivers/net/ethernet/microchip/lan969x/lan969x_regs.c [new file with mode: 0644]
drivers/net/ethernet/microchip/sparx5/sparx5_regs.c
drivers/net/ethernet/microchip/sparx5/sparx5_regs.h