diff mbox series

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

Message ID 20230621231012.3816139-1-robh@kernel.org
State Accepted
Commit faaa5fd30344f9a7b3816ae7a6b58ccd5a34998f
Headers show
Series [net-next] dt-bindings: net: altr,tse: Fix error in "compatible" conditional schema | expand

Commit Message

Rob Herring June 21, 2023, 11:10 p.m. UTC
The conditional if/then schema has an error as the "enum" values have
"const" in them. Drop the "const".

Signed-off-by: Rob Herring <robh@kernel.org>
---
 Documentation/devicetree/bindings/net/altr,tse.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Conor Dooley June 22, 2023, 7:54 p.m. UTC | #1
Hey Rob,

On Wed, Jun 21, 2023 at 05:10:12PM -0600, Rob Herring wrote:
> The conditional if/then schema has an error as the "enum" values have
> "const" in them. Drop the "const".
> 
> Signed-off-by: Rob Herring <robh@kernel.org>

Reviewed-by: Conor Dooley <conor.dooley@microchip.com>

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

Cheers,
Conor.

> ---
>  Documentation/devicetree/bindings/net/altr,tse.yaml | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/net/altr,tse.yaml b/Documentation/devicetree/bindings/net/altr,tse.yaml
> index 9d02af468906..f5d3b70af07a 100644
> --- a/Documentation/devicetree/bindings/net/altr,tse.yaml
> +++ b/Documentation/devicetree/bindings/net/altr,tse.yaml
> @@ -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:
> -- 
> 2.40.1
>
patchwork-bot+netdevbpf@kernel.org June 23, 2023, 11:20 a.m. UTC | #2
Hello:

This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@redhat.com>:

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".
> 
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---
>  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!
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/net/altr,tse.yaml b/Documentation/devicetree/bindings/net/altr,tse.yaml
index 9d02af468906..f5d3b70af07a 100644
--- a/Documentation/devicetree/bindings/net/altr,tse.yaml
+++ b/Documentation/devicetree/bindings/net/altr,tse.yaml
@@ -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: