]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: microchip: lan937x: add phy read and write support
authorArun Ramadoss <arun.ramadoss@microchip.com>
Fri, 1 Jul 2022 15:06:29 +0000 (20:36 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sat, 2 Jul 2022 15:34:05 +0000 (16:34 +0100)
commitb1602ffe53bf8ae9cdec4028178fed5771bc8b89
tree48774299f6a2bf957195b9300cc0d284413f58c4
parent1b001cf74547828b5aa8af24e08648d81917b329
net: dsa: microchip: lan937x: add phy read and write support

This patch add support for the writing and reading of the phy registers.
LAN937x uses the Vphy indirect addressing method for accessing the phys.

Signed-off-by: Arun Ramadoss <arun.ramadoss@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/microchip/ksz_common.c
drivers/net/dsa/microchip/lan937x.h
drivers/net/dsa/microchip/lan937x_main.c
drivers/net/dsa/microchip/lan937x_reg.h