[PATCH 1/6] dt-bindings: net: snps,dwmac: remove tx-sched-sp property

Flavio Suligoi posted 6 patches 1 year, 10 months ago
[PATCH 1/6] dt-bindings: net: snps,dwmac: remove tx-sched-sp property
Posted by Flavio Suligoi 1 year, 10 months ago
The property "tx-sched-sp" no longer exists, as it was removed from the
file:

drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c

by the commit:

commit aed6864035b1 ("net: stmmac: platform: Delete a redundant condition
branch")

Signed-off-by: Flavio Suligoi <f.suligoi@asem.it>
---
 .../devicetree/bindings/net/snps,dwmac.yaml        | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/Documentation/devicetree/bindings/net/snps,dwmac.yaml b/Documentation/devicetree/bindings/net/snps,dwmac.yaml
index 15073627c53a..21cc27e75f50 100644
--- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml
+++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml
@@ -328,9 +328,6 @@ properties:
       snps,tx-sched-dwrr:
         type: boolean
         description: Deficit Weighted Round Robin
-      snps,tx-sched-sp:
-        type: boolean
-        description: Strict priority
     allOf:
       - if:
           required:
@@ -339,7 +336,6 @@ properties:
           properties:
             snps,tx-sched-wfq: false
             snps,tx-sched-dwrr: false
-            snps,tx-sched-sp: false
       - if:
           required:
             - snps,tx-sched-wfq
@@ -347,7 +343,6 @@ properties:
           properties:
             snps,tx-sched-wrr: false
             snps,tx-sched-dwrr: false
-            snps,tx-sched-sp: false
       - if:
           required:
             - snps,tx-sched-dwrr
@@ -355,15 +350,6 @@ properties:
           properties:
             snps,tx-sched-wrr: false
             snps,tx-sched-wfq: false
-            snps,tx-sched-sp: false
-      - if:
-          required:
-            - snps,tx-sched-sp
-        then:
-          properties:
-            snps,tx-sched-wrr: false
-            snps,tx-sched-wfq: false
-            snps,tx-sched-dwrr: false
     patternProperties:
       "^queue[0-9]$":
         description: Each subnode represents a queue.
-- 
2.34.1
Re: [PATCH 1/6] dt-bindings: net: snps,dwmac: remove tx-sched-sp property
Posted by Krzysztof Kozlowski 1 year, 10 months ago
On 05/04/2024 17:27, Flavio Suligoi wrote:
> The property "tx-sched-sp" no longer exists, as it was removed from the
> file:
> 
> drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
> 
> by the commit:
> 
> commit aed6864035b1 ("net: stmmac: platform: Delete a redundant condition
> branch")
> 
> Signed-off-by: Flavio Suligoi <f.suligoi@asem.it>
> ---
>  .../devicetree/bindings/net/snps,dwmac.yaml        | 14 --------------
>  1 file changed, 14 deletions(-)

One more thought though:
1. Missing net-next patch annotation,
2. Please split DTS from net. DTS goes via separate trees.

Best regards,
Krzysztof
Re: [PATCH 1/6] dt-bindings: net: snps,dwmac: remove tx-sched-sp property
Posted by Krzysztof Kozlowski 1 year, 10 months ago
On 05/04/2024 17:27, Flavio Suligoi wrote:
> The property "tx-sched-sp" no longer exists, as it was removed from the
> file:
> 
> drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
> 
> by the commit:

Keep syntax as asked by submitting patches, so "by the commit sha ("foo
bar").

> 
> commit aed6864035b1 ("net: stmmac: platform: Delete a redundant condition
> branch")
> 
> Signed-off-by: Flavio Suligoi <f.suligoi@asem.it>
> ---
>  .../devicetree/bindings/net/snps,dwmac.yaml        | 14 --------------
>  1 file changed, 14 deletions(-)

This means by default we have tx-sched-sp... I guess it is fine,
assuming there are no other users (projects) of this binding property.

Acked-by: Krzysztof Kozlowski <krzk@kernel.org>

Best regards,
Krzysztof