[PATCH v2 0/2] net: stmmac: dwmac-mediatek: Fix inverted logic for mediatek,mac-wol

From: Nícolas F. R. A. Prado
Date: Sat Nov 09 2024 - 10:18:19 EST


This series fixes the inverted handling of the mediatek,mac-wol DT
property. This was done with backwards compatibility in v1, but based on
the feedback received, all boards should be using MAC WOL, so many of
them were incorrectly described and didn't have working WOL tested
anyway. So for v2, the approach is simpler: just fix the driver handling
and update the DTs to enable MAC WOL everywhere.

Signed-off-by: Nícolas F. R. A. Prado <nfraprado@xxxxxxxxxxxxx>
---
Changes in v2:
- Dropped introduction of new property mediatek,mac-wol-noninverted for
backwards compatibility
- Set MAC WOL for every DT
- Link to v1: https://lore.kernel.org/r/20241101-mediatek-mac-wol-noninverted-v1-0-75b81808717a@xxxxxxxxxxxxx

---
Nícolas F. R. A. Prado (2):
net: stmmac: dwmac-mediatek: Fix inverted handling of mediatek,mac-wol
arm64: dts: mediatek: Set mediatek,mac-wol on DWMAC node for all boards

arch/arm64/boot/dts/mediatek/mt2712-evb.dts | 1 +
arch/arm64/boot/dts/mediatek/mt8195-demo.dts | 1 +
arch/arm64/boot/dts/mediatek/mt8395-kontron-3-5-sbc-i1200.dts | 1 +
drivers/net/ethernet/stmicro/stmmac/dwmac-mediatek.c | 4 ++--
4 files changed, 5 insertions(+), 2 deletions(-)
---
base-commit: c88416ba074a8913cf6d61b789dd834bbca6681c
change-id: 20241101-mediatek-mac-wol-noninverted-198c6c404536

Best regards,
--
Nícolas F. R. A. Prado <nfraprado@xxxxxxxxxxxxx>