[PATCH net v2 0/2] Fix EEE support for MT7531 and MT7988 SoC switch

From: Arınç ÜNAL via B4 Relay
Date: Thu Mar 21 2024 - 12:29:54 EST


Hi.

This patch series fixes EEE support for MT7531 and the switch on the MT7988
SoC. EEE could not be enabled on MT7531 on most boards using ethtool before
this. On MT7988 SoC switch, EEE is disabled by default but can be turned on
normally using ethtool. EEE is enabled by default on MT7530 and there's no
need to make changes on the DSA subdriver for it. This patch series
disables EEE by default on MT7531 but makes it possible to enable it using
ethtool.

Signed-off-by: Arınç ÜNAL <arinc.unal@xxxxxxxxxx>
---
Changes in v2:
- Delegate the patch to the net tree.
- Remove patch 3, it was revealed that it doesn't fix a bug.
- Patch 1
- Disable EEE advertisement on MT7531 by default.
- Link to v1: https://lore.kernel.org/r/20240318-for-net-mt7530-fix-eee-for-mt7531-mt7988-v1-0-3f17226344e8@xxxxxxxxxx

---
Arınç ÜNAL (2):
net: dsa: mt7530: fix enabling EEE on MT7531 switch on all boards
net: dsa: mt7530: fix disabling EEE on failure on MT7531 and MT7988

drivers/net/dsa/mt7530.c | 14 ++++++++++++++
drivers/net/dsa/mt7530.h | 7 ++++++-
2 files changed, 20 insertions(+), 1 deletion(-)
---
base-commit: ea80e3ed09ab2c2b75724faf5484721753e92c31
change-id: 20240317-for-net-mt7530-fix-eee-for-mt7531-mt7988-a5c5453cc0e8

Best regards,
--
Arınç ÜNAL <arinc.unal@xxxxxxxxxx>