devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] net: stmmac: dwmac-mediatek: Fix inverted logic for mediatek,mac-wol
@ 2024-11-09 15:16 Nícolas F. R. A. Prado
  2024-11-09 15:16 ` [PATCH v2 1/2] net: stmmac: dwmac-mediatek: Fix inverted handling of mediatek,mac-wol Nícolas F. R. A. Prado
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Nícolas F. R. A. Prado @ 2024-11-09 15:16 UTC (permalink / raw)
  To: Andrew Lunn, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Matthias Brugger, AngeloGioacchino Del Regno, Biao Huang,
	Alexandre Torgue, Jose Abreu, Maxime Coquelin,
	Bartosz Golaszewski, Andrew Halaney, Simon Horman
  Cc: kernel, netdev, devicetree, linux-kernel, linux-arm-kernel,
	linux-mediatek, linux-stm32, Nícolas F. R. A. Prado

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@collabora.com>
---
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@collabora.com

---
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@collabora.com>


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2024-12-23 11:07 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-09 15:16 [PATCH v2 0/2] net: stmmac: dwmac-mediatek: Fix inverted logic for mediatek,mac-wol Nícolas F. R. A. Prado
2024-11-09 15:16 ` [PATCH v2 1/2] net: stmmac: dwmac-mediatek: Fix inverted handling of mediatek,mac-wol Nícolas F. R. A. Prado
2024-11-14  9:26   ` AngeloGioacchino Del Regno
2024-11-09 15:16 ` [PATCH v2 2/2] arm64: dts: mediatek: Set mediatek,mac-wol on DWMAC node for all boards Nícolas F. R. A. Prado
2024-11-14  9:26   ` AngeloGioacchino Del Regno
2024-11-14 12:29     ` Michael Walle
2024-11-14 13:56       ` AngeloGioacchino Del Regno
2024-11-14 19:22     ` Nícolas F. R. A. Prado
2024-11-15  9:26       ` AngeloGioacchino Del Regno
2024-11-14  4:00 ` [PATCH v2 0/2] net: stmmac: dwmac-mediatek: Fix inverted logic for mediatek,mac-wol patchwork-bot+netdevbpf
2024-12-20 16:09   ` Nícolas F. R. A. Prado
2024-12-20 17:19     ` Jakub Kicinski
2024-12-23 11:06 ` (subset) " AngeloGioacchino Del Regno

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).