net: dsa: microchip: Setup fiber ports for KSZ8463
authorTristram Ha <tristram.ha@microchip.com>
Fri, 25 Jul 2025 00:17:52 +0000 (17:17 -0700)
committerJakub Kicinski <kuba@kernel.org>
Sat, 26 Jul 2025 00:01:56 +0000 (17:01 -0700)
commit006983e59755ea774c52468e9c13d360794be81e
tree65e3977c70c53730f33d128f69b7360e46bc5766
parent5bcdb1373a6c8ffbe2d139a9c7f1fa27d2525b10
net: dsa: microchip: Setup fiber ports for KSZ8463

The fiber ports in KSZ8463 cannot be detected internally, so it requires
specifying that condition in the device tree.  Like the one used in
Micrel PHY the port link can only be read and there is no write to the
PHY.  The driver programs registers to operate fiber ports correctly.

Signed-off-by: Tristram Ha <tristram.ha@microchip.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20250725001753.6330-6-Tristram.Ha@microchip.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/dsa/microchip/ksz8.c
drivers/net/dsa/microchip/ksz_common.c