mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/4] net: stmmac: dwmac-mediatek: Fix inverted logic for mediatek,mac-wol
@ 2024-11-01 15:20 Nícolas F. R. A. Prado
  2024-11-01 15:20 ` [PATCH 1/4] net: dt-bindings: dwmac: Introduce mediatek,mac-wol-noninverted Nícolas F. R. A. Prado
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Nícolas F. R. A. Prado @ 2024-11-01 15:20 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
  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 while keeping backward compatibility. It does so by introducing
a new property on patch 1 and updating the driver to handle it on patch
2. Patch 3 adds this property on the Genio 700 EVK DT, where this issue
was noticed, to get WOL working on that platform. Patch 4 adds the new
property on all DTs with the MediaTek DWMAC ethernet node enabled
and inverts the presence of mediatek,mac-wol to maintain the
current behavior and have it match the description in the binding.

Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
---
Nícolas F. R. A. Prado (4):
      net: dt-bindings: dwmac: Introduce mediatek,mac-wol-noninverted
      net: stmmac: dwmac-mediatek: Handle non-inverted mediatek,mac-wol
      arm64: dts: mediatek: mt8390-genio-700-evk: Enable ethernet MAC WOL
      arm64: dts: mediatek: Add mediatek,mac-wol-noninverted to ethernet nodes

 Documentation/devicetree/bindings/net/mediatek-dwmac.yaml     | 11 +++++++++++
 arch/arm64/boot/dts/mediatek/mt2712-evb.dts                   |  2 ++
 arch/arm64/boot/dts/mediatek/mt8195-demo.dts                  |  2 ++
 arch/arm64/boot/dts/mediatek/mt8390-genio-700-evk.dts         |  1 +
 arch/arm64/boot/dts/mediatek/mt8395-genio-1200-evk.dts        |  2 +-
 arch/arm64/boot/dts/mediatek/mt8395-kontron-3-5-sbc-i1200.dts |  2 ++
 arch/arm64/boot/dts/mediatek/mt8395-radxa-nio-12l.dts         |  2 +-
 drivers/net/ethernet/stmicro/stmmac/dwmac-mediatek.c          |  9 ++++++---
 8 files changed, 26 insertions(+), 5 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] 6+ messages in thread

end of thread, other threads:[~2024-11-04 14:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-01 15:20 [PATCH 0/4] net: stmmac: dwmac-mediatek: Fix inverted logic for mediatek,mac-wol Nícolas F. R. A. Prado
2024-11-01 15:20 ` [PATCH 1/4] net: dt-bindings: dwmac: Introduce mediatek,mac-wol-noninverted Nícolas F. R. A. Prado
2024-11-01 15:20 ` [PATCH 3/4] arm64: dts: mediatek: mt8390-genio-700-evk: Enable ethernet MAC WOL Nícolas F. R. A. Prado
2024-11-01 15:20 ` [PATCH 4/4] arm64: dts: mediatek: Add mediatek,mac-wol-noninverted to ethernet nodes Nícolas F. R. A. Prado
2024-11-04 10:18 ` [PATCH 0/4] net: stmmac: dwmac-mediatek: Fix inverted logic for mediatek,mac-wol AngeloGioacchino Del Regno
2024-11-04 14:46   ` Nícolas F. R. A. Prado

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®