From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 14BDDEB64DA for ; Thu, 22 Jun 2023 19:55:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229830AbjFVTzK (ORCPT ); Thu, 22 Jun 2023 15:55:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59686 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230256AbjFVTzI (ORCPT ); Thu, 22 Jun 2023 15:55:08 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 47B96210E; Thu, 22 Jun 2023 12:55:03 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id D19B8618DB; Thu, 22 Jun 2023 19:55:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EE8A4C433C8; Thu, 22 Jun 2023 19:54:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1687463702; bh=/Y3hDobY50UVjtDFqg+IraerI8qLf+JHDe3DFP5DZNY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=FHO5bqdKzTmfFARCy6yMYqX9cFKuDjqxGHm77u9dM/S/d6ZigzqGEKIKSmZS6+dKj IIVJQiytOhSdzOJIvZlM/TCOex53Vsw/t5AeksiOyYJvrl7U0TQifGsnJ1X7+P4v3Z 5iHdlaGEzxgs0ISDke4AOS0i1YyLmgfoMN8FOhrCzYpXK9Jdn9/YLsxW8cpfSyty/2 yZOtOeM+5trESt1nnk1+1JqokAcvHfgOgJ1MHaMxVBZlHJch69tlYSiFdlS5NiGfaF eT0qs5/KAUjsj23kbJ9qS5Y87DXfU1YUvre67z3vErEHZIM9LcrSYmOPbFJo5gnORL Xx1Tcb6AfNCzQ== Date: Thu, 22 Jun 2023 20:54:57 +0100 From: Conor Dooley To: Rob Herring Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Krzysztof Kozlowski , Conor Dooley , Maxime Chevallier , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next] dt-bindings: net: altr,tse: Fix error in "compatible" conditional schema Message-ID: <20230622-germless-unless-02d29924ddf2@spud> References: <20230621231012.3816139-1-robh@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="a/Cjr6/h5jMrqHAk" Content-Disposition: inline In-Reply-To: <20230621231012.3816139-1-robh@kernel.org> Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org --a/Cjr6/h5jMrqHAk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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". >=20 > Signed-off-by: Rob Herring Reviewed-by: Conor Dooley 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(-) >=20 > diff --git a/Documentation/devicetree/bindings/net/altr,tse.yaml b/Docume= ntation/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: > --=20 > 2.40.1 >=20 --a/Cjr6/h5jMrqHAk Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZJSnEQAKCRB4tDGHoIJi 0ms8AQCmtnDqlu3WQfbAKGmFyABvaTBCVbHGQ5/+gOrtZoyTDQD/Scy8/gY7sVIA Y9M1+ImUvdMHcOEcNeAR4HeOFR+CiAM= =V1Bu -----END PGP SIGNATURE----- --a/Cjr6/h5jMrqHAk--