diff mbox series

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

Message ID 20240223195526.1161232-1-niklas.soderlund+renesas@ragnatech.se (mailing list archive)
State Mainlined
Commit 7be40883b1cb734a31a3cbfd5f8f64a97965d26f
Delegated to: Geert Uytterhoeven
Headers show
Series dt-bindings: net: renesas,ethertsn: Document default for delays | expand

Commit Message

Niklas Söderlund Feb. 23, 2024, 7:55 p.m. UTC
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.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
---
 Documentation/devicetree/bindings/net/renesas,ethertsn.yaml | 2 ++
 1 file changed, 2 insertions(+)

Comments

Geert Uytterhoeven Feb. 26, 2024, 12:20 p.m. UTC | #1
On Fri, Feb 23, 2024 at 8:56 PM Niklas Söderlund
<niklas.soderlund+renesas@ragnatech.se> 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.
>
> Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

Gr{oetje,eeting}s,

                        Geert
patchwork-bot+netdevbpf@kernel.org March 1, 2024, 8:40 a.m. UTC | #2
Hello:

This patch was applied to netdev/net.git (main)
by David S. Miller <davem@davemloft.net>:

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.
> 
> Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
> 
> [...]

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!
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/net/renesas,ethertsn.yaml b/Documentation/devicetree/bindings/net/renesas,ethertsn.yaml
index 475aff7714d6..ea35d19be829 100644
--- a/Documentation/devicetree/bindings/net/renesas,ethertsn.yaml
+++ b/Documentation/devicetree/bindings/net/renesas,ethertsn.yaml
@@ -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