Skip to contentSkip to conversation

dt-bindings: net: altr,tse: Fix error in "compatible" conditional schema

PATCH Applied Rob Herring 3 participants 3 messages Jun 21, 2023 – Jun 23, 2023

Subsystems (3)
lore
Share & tools
lore

Rob Herring

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: net: altr,tse: Fix error in "compatible" conditional schema

The conditional if/then schema has an error as the "enum" values have "const" in them. Drop the "const".

---
 Documentation/devicetree/bindings/net/altr,tse.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/net/altr,tse.yaml +2 -2
index 9d02af468906..f5d3b70af07a 100644
@@ -72,8 +72,8 @@ allOf:
         compatible:
           contains:
             enum:
-              - const: altr,tse-1.0
-              - const: ALTR,tse-1.0
+              - altr,tse-1.0
+              - ALTR,tse-1.0
     then:
       properties:
         reg:
Signature · 1 line
2.40.1
Reviewed-by on v1 1/1
#1 lore raw

Hey Rob,

Quoted 4 lines · Rob Herring

The conditional if/then schema has an error as the "enum" values have "const" in them. Drop the "const".

You waiting for some of these to land before updating dt-schema?

Cheers,
Conor.

Quoted 22 lines
---
 Documentation/devicetree/bindings/net/altr,tse.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/net/altr,tse.yaml +2 -2
index 9d02af468906..f5d3b70af07a 100644
@@ -72,8 +72,8 @@ allOf:
         compatible:
           contains:
             enum:
-              - const: altr,tse-1.0
-              - const: ALTR,tse-1.0
+              - altr,tse-1.0
+              - ALTR,tse-1.0
     then:
       properties:
         reg:
Signature · 1 line
2.40.1
#2 lore raw
In reply to Rob Herring
This patch was applied to netdev/net-next.git (main) by Paolo Abeni <[email protected]>:

Hello:

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

Quoted 7 lines · On Wed, 21 Jun 2023 17:10:12 -0600 you wrote:

The conditional if/then schema has an error as the "enum" values have "const" in them. Drop the "const".

---
 Documentation/devicetree/bindings/net/altr,tse.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Here is the summary with links:
- [net-next] dt-bindings: net: altr,tse: Fix error in "compatible" conditional schema

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

You are awesome, thank you!

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