Received: by 2002:ac8:156:0:b0:3e0:cd10:60c8 with SMTP id f22csp2491968qtg; Thu, 23 Mar 2023 04:42:05 -0700 (PDT) X-Google-Smtp-Source: AK7set/CsJZsH+JvwtPGr6nFgPxV+WSFie9fkb/CU6GukrGp67pHpe7606pkkyRAI3XrnD3vzoM5 X-Received: by 2002:a17:906:1810:b0:939:5720:a2db with SMTP id v16-20020a170906181000b009395720a2dbmr9998766eje.8.1679571725520; Thu, 23 Mar 2023 04:42:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679571725; cv=none; d=google.com; s=arc-20160816; b=0E0D/1o0tMTS0cf3vYaZCVVqJGN0qEPB0xiZH42tUHppoEf5bBxPcdlnfe5oP7o7jD tNGBGrDv6SIr1wT4iYlHdm9Wk8i1I8a7RSWZXotCWcXOZPK1wvKmy4DuWUfnjcBQw5+p DO0wJp+1QNgoD3EMsMGQF+KHbK8+57Na5evMrgwZemLKzXpOqdz8zDKqgp8dfVMTvu3d DFG9c65eFSWe5q/uS9rNQQt/6Hz9kf0+43DBtMR7v/7Tv94M3sn73hkEg4frNVApzIb3 j3LCKIYOvMcVuY6tqto34AtEVbCHNXTAjqE3oXWHpF028O9MqSMewDyPlTXhWNlmOfxS f2OQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=9wqfCTQu6TpSkQBuufTN+FDVnW3u9zukJQMSdPwg2XI=; b=sC+Oos0X348QF3fh8NDOhu/APJVuSbecWNHznmjCm/RZpvmPosIiPFiYDuSWwe14Og jkPIq9mzyksvMqOltivUiXB/3nDxKrWO7Vl109vy6oplYgqnc1R6jhqavzxU1d6WPtgz RbmOVf6v50AFWXvT442ymH4GNoV2OGplWCJ8O7SGG2XT6/1vAwWwyyy0dOM7wqFsMtdu /kUPSmfQsi0Hrd7S8ie2Yr5V/QqKrC2weSeZyevr3L1ovb37cuN9OyDw7AohjBidOr2q rYk6298RfYnmXjwOtyAw6bLVGeCabDkZpRuly0fdEqAdykKa0hGgq4pu102Es81qygL1 TQlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Op0RbaHT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i9-20020a170906250900b008df684ab75dsi17793304ejb.595.2023.03.23.04.41.41; Thu, 23 Mar 2023 04:42:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Op0RbaHT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230179AbjCWLh7 (ORCPT + 99 others); Thu, 23 Mar 2023 07:37:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230165AbjCWLh4 (ORCPT ); Thu, 23 Mar 2023 07:37:56 -0400 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 215DD12BDE; Thu, 23 Mar 2023 04:37:54 -0700 (PDT) Received: by mail-lf1-x134.google.com with SMTP id j11so27237078lfg.13; Thu, 23 Mar 2023 04:37:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679571472; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=9wqfCTQu6TpSkQBuufTN+FDVnW3u9zukJQMSdPwg2XI=; b=Op0RbaHTvg7xYxUMJ5x37/ssOSmmCk314Ar6tZMsow7cQf4VpukR5WbwpoKvNPlu2w qpLueWiBUoznP+bidlh55yerR8HD4zeejtChefwtTSe1QazWFMbdyGnY7mUCCXIN+C5p UtnU1MO4sn6fjSneBxTpdUUWbf/OTjbDO2fQyhJFMTedWk4Q8Hz0fa2g4qKvUuPB0R0L pOA5cNoFm5zLcVhgdJ0m8/KbohJNPJzBwmiyVYWwPrA/h+CvdZpyS1elXEd1H4aTKx2K M5V9cImzOfpBDW+UvHUuaXJGB+wAOK6qAO5qwuxxINZy8nyW6mJW1jCqvnH/gYAcr4fB 81Lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679571472; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=9wqfCTQu6TpSkQBuufTN+FDVnW3u9zukJQMSdPwg2XI=; b=Unbvszsm7eLglGA1LnP6fJu/N3jEBKeqP5T62uf83AX/NevSgXKkZgXRB70MSXoNLa g6TkGur8DRXD2ZstJGHX/H9hSd2J96izAZVK46J+8sji6m6W44kO1LIOsMYTIvgiwDn9 N6Ku4cjlll3GwwIu/j9YOGTkDXbv7fUCOPXYfY1waxZzRKoweFsr4Gec1syTewcX23L5 O+ien4cHkO9n/UdYxjHYXBfAXr5xCyTCLUIaqQGK1CCOr16XSaiS9vid7Pk7j1HhTQQh RrawrcCylXj3FcNDDdqasi4DcO6ImLmVtM3zHZdV8+OdIhltkQNX3U/Xj4/igpsUkcl+ Ma5Q== X-Gm-Message-State: AO0yUKUaKjsD5nuAIGWcDApTUoeyL5CevFZg3JC5uYBsyG/r/w4YMpUj NHicp+w2woNCATJVLNoO1Yc= X-Received: by 2002:a05:6512:102d:b0:4e7:fa8a:886e with SMTP id r13-20020a056512102d00b004e7fa8a886emr2704920lfr.51.1679571472098; Thu, 23 Mar 2023 04:37:52 -0700 (PDT) Received: from mobilestation ([95.79.133.202]) by smtp.gmail.com with ESMTPSA id w9-20020ac254a9000000b004e845b49d81sm2898087lfk.140.2023.03.23.04.37.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Mar 2023 04:37:51 -0700 (PDT) Date: Thu, 23 Mar 2023 14:37:48 +0300 From: Serge Semin To: Krzysztof Kozlowski Cc: Serge Semin , Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Maxime Coquelin , Rob Herring , Krzysztof Kozlowski , Alexey Malahov , Pavel Parkhomenko , Christian Marangi , Richard Cochran , Biao Huang , Yang Yingliang , devicetree@vger.kernel.org, netdev@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next 09/16] dt-bindings: net: dwmac: Prohibit additional props in AXI-config Message-ID: <20230323113748.bj45qbvut2cthvyr@mobilestation> References: <20230313225103.30512-1-Sergey.Semin@baikalelectronics.ru> <20230313225103.30512-10-Sergey.Semin@baikalelectronics.ru> <78224241-00a3-2e8e-4763-603b27ac3b83@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <78224241-00a3-2e8e-4763-603b27ac3b83@linaro.org> X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 16, 2023 at 09:06:04AM +0100, Krzysztof Kozlowski wrote: > On 13/03/2023 23:50, Serge Semin wrote: > > Currently DT-schema of the AXI-bus config sub-node prohibits to have > > unknown properties by using the unevaluatedProperties property. It's > > overkill for the sub-node which doesn't use any combining schemas > > keywords (allOf, anyOf, etc). Instead more natural is to use > > additionalProperties to prohibit for that. > > > > Signed-off-by: Serge Semin > > --- > > Documentation/devicetree/bindings/net/snps,dwmac.yaml | 3 ++- > > 1 file changed, 2 insertions(+), 1 deletion(-) > > > > diff --git a/Documentation/devicetree/bindings/net/snps,dwmac.yaml b/Documentation/devicetree/bindings/net/snps,dwmac.yaml > > index 89be67e55c3e..d1b2910b799b 100644 > > --- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml > > +++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml > > @@ -466,7 +466,6 @@ properties: > > > > stmmac-axi-config: > > type: object > > - unevaluatedProperties: false > > description: > > AXI BUS Mode parameters. > > > > @@ -518,6 +517,8 @@ properties: > > description: > > rebuild INCRx Burst > > > > + additionalProperties: false > > But why moving it? Keep the same placement. No firm justification except that vast majority of DT bindings have that keyword placed at the tail of the schema body. Anyway I'll get the it back to the original line. -Serge(y) > > Best regards, > Krzysztof >