Skip to contentSkip to conversation

dt-bindings: net: renesas,ethertsn: Document default for delays

PATCH Applied Niklas Söderlund 3 participants 3 messages Feb 23, 2024 – Mar 1, 2024

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

PATCH 1/1 dt-bindings: net: renesas,ethertsn: Document default for delays

The internal delay properties are not mandatory and should have a documented default value. The device only supports either no delay or a fixed delay and the device reset default is no delay, document the default as no delay.

---
 Documentation/devicetree/bindings/net/renesas,ethertsn.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/net/renesas,ethertsn.yaml +2 -0
index 475aff7714d6..ea35d19be829 100644
@@ -65,9 +65,11 @@ properties:
 
   rx-internal-delay-ps:
     enum: [0, 1800]
+    default: 0
 
   tx-internal-delay-ps:
     enum: [0, 2000]
+    default: 0
 
   '#address-cells':
     const: 1
Signature · 1 line
2.43.2
Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · Niklas Söderlund

The internal delay properties are not mandatory and should have a documented default value. The device only supports either no delay or a fixed delay and the device reset default is no delay, document the default as no delay.

Gr{oetje,eeting}s,

Geert

Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
#2 lore raw
In reply to Niklas Söderlund
This patch was applied to netdev/net.git (main) by David S. Miller <[email protected]>:

Hello:

This patch was applied to netdev/net.git (main)
by David S. Miller <[email protected]>:

Quoted 8 lines · On Fri, 23 Feb 2024 20:55:26 +0100 you wrote:

The internal delay properties are not mandatory and should have a documented default value. The device only supports either no delay or a fixed delay and the device reset default is no delay, document the default as no delay.

[...]

Here is the summary with links:
- dt-bindings: net: renesas,ethertsn: Document default for delays

    https://git.kernel.org/netdev/net/c/7be40883b1cb

You are awesome, thank you!

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