linux-stable/drivers/net/dsa/microchip
Rasmus Villemoes 5c844d57aa net: dsa: microchip: fix writes to phy registers >= 0x10
According to the errata sheets for ksz9477 and ksz9567, writes to the
PHY registers 0x10-0x1f (i.e. those located at addresses 0xN120 to
0xN13f) must be done as a 32 bit write to the 4-byte aligned address
containing the register, hence requires a RMW in order not to change
the adjacent PHY register.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20230620113855.733526-4-linux@rasmusvillemoes.dk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2023-06-22 19:48:37 -07:00
..
Kconfig net: dsa: microchip: ptp: fix up PTP dependency 2023-01-31 13:21:38 +01:00
Makefile net: dsa: microchip: ptp: add the posix clock support 2023-01-13 08:40:40 +00:00
ksz8.h net: dsa: microchip: Make ksz8_w_sta_mac_table() static 2023-04-06 11:34:45 +02:00
ksz8795.c net: dsa: microchip: remove ksz_port:on variable 2023-05-30 09:48:17 +02:00
ksz8795_reg.h net: dsa: microchip: ksz8: add MTU configuration support 2022-12-07 11:57:58 +01:00
ksz8863_smi.c net: dsa: microchip: ksz8: Prepare ksz8863_smi for regmap register access validation 2023-05-30 09:48:17 +02:00
ksz9477.c net: dsa: microchip: fix writes to phy registers >= 0x10 2023-06-22 19:48:37 -07:00
ksz9477.h net: dsa: microchip: add support for credit based shaper 2023-01-23 22:12:35 -08:00
ksz9477_i2c.c net: dsa: Switch i2c drivers back to use .probe() 2023-05-31 09:52:55 +01:00
ksz9477_reg.h net: dsa: microchip: add support for credit based shaper 2023-01-23 22:12:35 -08:00
ksz_common.c net: dsa: microchip: remove KSZ9477 PHY errata handling 2023-06-06 21:08:37 -07:00
ksz_common.h net: dsa: microchip: add ksz_prmw32() helper 2023-06-22 19:48:37 -07:00
ksz_ptp.c net: dsa: microchip: ptp: Fix error code in ksz_hwtstamp_set() 2023-01-19 18:57:16 -08:00
ksz_ptp.h net: dsa: microchip: ptp: add support for perout programmable pins 2023-01-13 08:40:41 +00:00
ksz_ptp_reg.h net: dsa: microchip: ptp: lan937x: Enable periodic output in LED pins 2023-01-13 08:40:41 +00:00
ksz_spi.c net: dsa: microchip: add an enum for regmap widths 2023-05-30 09:48:17 +02:00
lan937x.h net: dsa: microchip: add support for credit based shaper 2023-01-23 22:12:35 -08:00
lan937x_main.c net: dsa: microchip: add an enum for regmap widths 2023-05-30 09:48:17 +02:00
lan937x_reg.h net: dsa: microchip: add support for credit based shaper 2023-01-23 22:12:35 -08:00