Skip to contentSkip to conversation

dt-bindings: net: nvidia,tegra234-mgbe: Add missing properties

PATCH Applied Thierry Reding 2 participants 2 messages Sep 21 – Sep 24

Subsystems (4)
lore
Share & tools
lore

Thierry Reding

author maintainer
#0 lore raw

PATCH v3 1/1 dt-bindings: net: nvidia,tegra234-mgbe: Add missing properties

From: Thierry Reding <[email protected]>

Being a DWMAC derivative, the Tegra234 MGBE supports AXI configuration nodes named stmmac-axi-config and phandle references to them using the snps,axi-config property.

While at it, add the 10gbase-r PHY mode.

---
Changes in v3:
- add Rob's Reviewed-by
- link to v2: https://lore.kernel.org/linux-tegra/[email protected]/

Changes in v2:
- move common properties to snps,dwmac-common.yaml
- link to v1: https://lore.kernel.org/linux-tegra/[email protected]/

 .../bindings/net/nvidia,tegra234-mgbe.yaml    |  8 ++-
 .../bindings/net/snps,dwmac-common.yaml       | 66 +++++++++++++++++++
 .../devicetree/bindings/net/snps,dwmac.yaml   | 52 +--------------
 3 files changed, 73 insertions(+), 53 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/net/snps,dwmac-common.yaml
Documentation/devicetree/bindings/net/nvidia,tegra234-mgbe.yaml +6 -2
index 215f14d1897d..48e4798a039b 100644
@@ -81,8 +81,9 @@ properties:
   phy-mode:
     contains:
       enum:
-        - usxgmii
         - 10gbase-kr
+        - 10gbase-r
+        - usxgmii
 
   mdio:
     $ref: mdio.yaml#
@@ -90,6 +91,9 @@ properties:
     description:
       Optional node for embedded MDIO controller.
 
+allOf:
+  - $ref: snps,dwmac-common.yaml#
+
 required:
   - compatible
   - reg
@@ -103,7 +107,7 @@ required:
   - phy-handle
   - phy-mode
 
-additionalProperties: false
+unevaluatedProperties: false
 
 examples:
   - |
Documentation/devicetree/bindings/net/snps,dwmac-common.yaml new file +66 -0

66 lines not on this page · raw message

Documentation/devicetree/bindings/net/snps,dwmac.yaml +1 -51

70 lines not on this page · raw message

Signature · 1 line
2.55.0
#1 lore raw
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Quoted 9 lines · On Mon, 21 Sep 2026 13:04:22 +0200 you wrote:

From: Thierry Reding <[email protected]>

Being a DWMAC derivative, the Tegra234 MGBE supports AXI configuration nodes named stmmac-axi-config and phandle references to them using the snps,axi-config property.

While at it, add the 10gbase-r PHY mode.

[...]

Here is the summary with links:
- [v3] dt-bindings: net: nvidia,tegra234-mgbe: Add missing properties

    https://git.kernel.org/netdev/net-next/c/0a2de6c7cded

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html