Skip to contentSkip to conversation

dt-bindings: net: mediatek: support MT7621 SoC

PATCH In review Ilya Lipnitskiy 3 participants 5 messages Apr 19, 2021 – Apr 21, 2021

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dt-bindings: net: mediatek: support MT7621 SoC

Add missing binding documentation for SoC support that has been in place since v5.1

Fixes 889bcbdeee57 ("net: ethernet: mediatek: support MT7621 SoC ethernet hardware")
Cc Bjørn Mork <[email protected]>
---
 Documentation/devicetree/bindings/net/mediatek-net.txt | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/net/mediatek-net.txt +1 -0
index 72d03e07cf7c..950ef6af20b1 100644
@@ -10,6 +10,7 @@ Required properties:
 - compatible: Should be
 		"mediatek,mt2701-eth": for MT2701 SoC
 		"mediatek,mt7623-eth", "mediatek,mt2701-eth": for MT7623 SoC
+		"mediatek,mt7621-eth": for MT7621 SoC
 		"mediatek,mt7622-eth": for MT7622 SoC
 		"mediatek,mt7629-eth": for MT7629 SoC
 		"ralink,rt5350-eth": for Ralink Rt5350F and MT7628/88 SoC
Signature · 1 line
2.31.1
#1 lore raw
Quoted 15 lines · Ilya Lipnitskiy

Add missing binding documentation for SoC support that has been in place since v5.1

Fixes 889bcbdeee57 ("net: ethernet: mediatek: support MT7621 SoC ethernet hardware")
Cc Bjørn Mork <[email protected]>
---
 Documentation/devicetree/bindings/net/mediatek-net.txt | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/net/mediatek-net.txt +0 -0
index 72d03e07cf7c..950ef6af20b1 100644

Documentation/devicetree/bindings/net/mediatek-net.txt Required properties: · line 16

Quoted 7 lines
Documentation/devicetree/bindings/net/mediatek-net.txt +1 -0
@@ -10,6 +10,7 @@ Required properties:
 - compatible: Should be
 		"mediatek,mt2701-eth": for MT2701 SoC
 		"mediatek,mt7623-eth", "mediatek,mt2701-eth": for MT7623 SoC
+		"mediatek,mt7621-eth": for MT7621 SoC
 		"mediatek,mt7622-eth": for MT7622 SoC
 		"mediatek,mt7629-eth": for MT7629 SoC
 		"ralink,rt5350-eth": for Ralink Rt5350F and MT7628/88 SoC

Thanks for taking care of this!

Note, however, that this compatible value is defined in Documentation/devicetree/bindings/net/ralink,rt2880-net.txt

I believe that file should go away. These two files are both documenting the same compatible property AFAICS.

Bjørn

#2 lore raw
Quoted 29 lines · Bjørn Mork
Quoted 15 lines · Ilya Lipnitskiy

Add missing binding documentation for SoC support that has been in place since v5.1

Fixes 889bcbdeee57 ("net: ethernet: mediatek: support MT7621 SoC ethernet hardware")
Cc Bjørn Mork <[email protected]>
---
 Documentation/devicetree/bindings/net/mediatek-net.txt | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/net/mediatek-net.txt +0 -0
index 72d03e07cf7c..950ef6af20b1 100644

Documentation/devicetree/bindings/net/mediatek-net.txt Required properties: · line 16

Quoted 7 lines
Documentation/devicetree/bindings/net/mediatek-net.txt +1 -0
@@ -10,6 +10,7 @@ Required properties:
 - compatible: Should be
              "mediatek,mt2701-eth": for MT2701 SoC
              "mediatek,mt7623-eth", "mediatek,mt2701-eth": for MT7623 SoC
+             "mediatek,mt7621-eth": for MT7621 SoC
              "mediatek,mt7622-eth": for MT7622 SoC
              "mediatek,mt7629-eth": for MT7629 SoC
              "ralink,rt5350-eth": for Ralink Rt5350F and MT7628/88 SoC

Thanks for taking care of this!

Quoted 2 lines

Note, however, that this compatible value is defined in Documentation/devicetree/bindings/net/ralink,rt2880-net.txt

Good point. I don't think there is a driver in-tree for that binding. It looks like commit 663148e48a66 ("Documentation: DT: net: add docs for ralink/mediatek SoC ethernet binding") should just be reverted and the three documents (mediatek,mt7620-gsw.txt; ralink,rt2880-net.txt; ralink,rt3050-esw.txt) removed. Any objections?

Ilya

#3 lore raw
In reply to Bjørn Mork
Quoted 29 lines · Bjørn Mork
Quoted 15 lines · Ilya Lipnitskiy

Add missing binding documentation for SoC support that has been in place since v5.1

Fixes 889bcbdeee57 ("net: ethernet: mediatek: support MT7621 SoC ethernet hardware")
Cc Bjørn Mork <[email protected]>
---
 Documentation/devicetree/bindings/net/mediatek-net.txt | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/net/mediatek-net.txt +0 -0
index 72d03e07cf7c..950ef6af20b1 100644

Documentation/devicetree/bindings/net/mediatek-net.txt Required properties: · line 16

Quoted 7 lines
Documentation/devicetree/bindings/net/mediatek-net.txt +1 -0
@@ -10,6 +10,7 @@ Required properties:
 - compatible: Should be
              "mediatek,mt2701-eth": for MT2701 SoC
              "mediatek,mt7623-eth", "mediatek,mt2701-eth": for MT7623 SoC
+             "mediatek,mt7621-eth": for MT7621 SoC
              "mediatek,mt7622-eth": for MT7622 SoC
              "mediatek,mt7629-eth": for MT7629 SoC
              "ralink,rt5350-eth": for Ralink Rt5350F and MT7628/88 SoC

Thanks for taking care of this!

Quoted 5 lines

Note, however, that this compatible value is defined in Documentation/devicetree/bindings/net/ralink,rt2880-net.txt

I believe that file should go away. These two files are both documenting the same compatible property AFAICS.

Removed along with two others in
https://lore.kernel.org/lkml/[email protected]/T/#u

Ilya

maintainer Acked-by on v1 1/1
#4 lore raw
In reply to Ilya Lipnitskiy
Quoted 10 lines · Ilya Lipnitskiy

Add missing binding documentation for SoC support that has been in place since v5.1

Fixes 889bcbdeee57 ("net: ethernet: mediatek: support MT7621 SoC ethernet hardware")
Cc Bjørn Mork <[email protected]>
---
 Documentation/devicetree/bindings/net/mediatek-net.txt | 1 +
 1 file changed, 1 insertion(+)