Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp7493866rwl; Thu, 23 Mar 2023 05:15:45 -0700 (PDT) X-Google-Smtp-Source: AK7set8bint2LhtS/0fsHBZnYPij/smKXK7Zvx+3kgNjNHRj0f7K9iwjUJOklac81tIzTuTfu1Dr X-Received: by 2002:a17:906:f92:b0:8ec:4334:fe with SMTP id q18-20020a1709060f9200b008ec433400femr11113204ejj.26.1679573745402; Thu, 23 Mar 2023 05:15:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679573745; cv=none; d=google.com; s=arc-20160816; b=PdM8mDd1J7ja+hivmdEF1WZ8Y9SjbcDPUbz+Gt+9p3+jYU2f1y7s11tYQarvUquCZn 3pG1ZnXRxYL0Mhao2CpLsU6kFhUFE2hLxl4AhSDk/f81BF1XF/P75CjGxf3AoKAz/Jfp A7Q87Fyw6HpnYRYCutGxJ18Zl7KgY7akNuKFgjDEb7iUGzc4tR/Jn6jum0tBewrDkyij vWxZvv/bTqym9fI3DHD7MpWbW52BgEAzDwz4Ah0vBGFLC3WkkqH3+9zdDKZPFHgFuyBY Yt4jKoJJmVyZ8/eNLQRA6efydjSO9rKlSGMuzkLuc74X91bOMXtFOKRrlv2u16mFC5QE D1DA== 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=xzgI+B9ASfOGNYBH0IR4jXCQ7CKwmiqjpGUIbZHwnnc=; b=eRcNTwoBn0J4RunSevT121x9InGkPnKIIlWYuzIUlJgHf89n0I/3nxgyBsHojo7dRj KQcdmtPAixu4KU57K0SRzfQhUBRbNAcjb3re74jbesHh5PsjmQnBVVqytOB8d69Zxgdc 8ObhIfOU3bwotv7AemWzyLHUIptXxvV8pjwuILaxvt2vM6xnDwnZmEwYd9JbEA7yLbHB k2rprRNFM/mwJRWBenRat4HgqGgHTAyFPIte6dyjf3jr/PeIITs2inJ4p9w/2zhD+y4d yQYPLj67vxMEXwGqmQLuuDIczxijpN2ceKUa6fVLReOFHtAfl9bIHqTmNKSCHHVCj8oG c04Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=LFKNwiWK; 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 u6-20020aa7d886000000b004af7e6911d1si19808336edq.110.2023.03.23.05.15.20; Thu, 23 Mar 2023 05:15:45 -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=LFKNwiWK; 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 S229461AbjCWMJA (ORCPT + 99 others); Thu, 23 Mar 2023 08:09:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40310 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229563AbjCWMI7 (ORCPT ); Thu, 23 Mar 2023 08:08:59 -0400 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5375A46B6; Thu, 23 Mar 2023 05:08:58 -0700 (PDT) Received: by mail-lf1-x133.google.com with SMTP id s8so27120909lfr.8; Thu, 23 Mar 2023 05:08:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679573336; 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=xzgI+B9ASfOGNYBH0IR4jXCQ7CKwmiqjpGUIbZHwnnc=; b=LFKNwiWKSW7Ndn5zWY0V3TIVkQO7LGJoUbnGfHAzF6WG24W5M+VIvRUapx+q+WFgqu SiyZaq1BBzTjpH26yZ1+BD5RLXxCxh8nNjMJnF+CGTYpFdCpXcRkYajpbGkw1zfSivqo 5IbuF/edaVAQ5qWwJFUnXpaJhfGHvvtuN3Idj9qkPciVMZV3kF20JpRrP/irEPtV356v YTIncCqa+BiKhDPKRbdtpvbYACV7gZI35YJAvAl+ch2HBhVuntntMdOtTX6Nz6EXUFm7 +TzPJp7JG42UcAAjUTqqvbbhAuK3aC9XyJgPsXIeicQ66tAIUXpg+pjastRoG67dkUgj f+vQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679573336; 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=xzgI+B9ASfOGNYBH0IR4jXCQ7CKwmiqjpGUIbZHwnnc=; b=Z8eHpdCJ+GeDWSdryqygS/svudkg4BpbiVZDq82TjfBNaAUZwqVShysGCYKEKDL6ws qcKxLqxfwSIPbPeT74CGfpXRZM8yQL4t0T3VGHD5iO2LX1drPqxW7Spon+3Wv7rAF8NM y0/+t1sBi+P4waR83p24niqw+hdq2PXToWadsMAX9wr4JpiOZh+dbkKjR/BZlMkBTNRv Cl1wd4xv4GlUzRgrE3m8FkMZZLA3XlWtHm3ijlivtiFX8HysNLN4+oxkeb7AafuyZtN5 iFq7CvQWKUhcy0yJ9YpMfBtUAt/rg4l83Ne8HtJ03DNN2m9LpkUB35JcHJjO96ePcv3J CNlA== X-Gm-Message-State: AO0yUKXQ0v2ZgYR2TEQ6Q75u9e8LL5j2/9iHI5tPXTk6+VZMRup4rLqw 20m14uYeK82j5PtqkWw4kWQ= X-Received: by 2002:a05:6512:249:b0:4b4:e14a:ec7d with SMTP id b9-20020a056512024900b004b4e14aec7dmr3143131lfo.17.1679573336526; Thu, 23 Mar 2023 05:08:56 -0700 (PDT) Received: from mobilestation ([95.79.133.202]) by smtp.gmail.com with ESMTPSA id p19-20020a19f013000000b004eaf9ef5e7asm422577lfc.226.2023.03.23.05.08.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Mar 2023 05:08:56 -0700 (PDT) Date: Thu, 23 Mar 2023 15:08:53 +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 14/16] dt-bindings: net: dwmac: Use flag definition instead of booleans Message-ID: <20230323120853.wse2pvknvznawxpk@mobilestation> References: <20230313225103.30512-1-Sergey.Semin@baikalelectronics.ru> <20230313225103.30512-15-Sergey.Semin@baikalelectronics.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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:09:37AM +0100, Krzysztof Kozlowski wrote: > On 13/03/2023 23:51, Serge Semin wrote: > > Currently some of the boolean properties defined in the DT-schema are > > marked to have the basic boolean type meanwhile the rest referencing the > > /schemas/types.yaml#/definitions/flag schema. For the sake of unification > > let's convert the first group to referencing the pre-defined flag schema. > > Thus bindings will look a bit more coherent and the DT-bindings > > maintainers will have a better control over the booleans defined in the > > schema (if ever needed). > > > > Signed-off-by: Serge Semin > > --- > > .../devicetree/bindings/net/snps,dwmac.yaml | 45 ++++++++++++------- > > 1 file changed, 30 insertions(+), 15 deletions(-) > > > > diff --git a/Documentation/devicetree/bindings/net/snps,dwmac.yaml b/Documentation/devicetree/bindings/net/snps,dwmac.yaml > > index 69be39d55403..a863b5860566 100644 > > --- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml > > +++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml > > @@ -120,11 +120,13 @@ properties: > > maximum: 12 > > > > snps,rx-sched-sp: > > - type: boolean > > + $ref: /schemas/types.yaml#/definitions/flag > > description: Strict priority > > If ever touching this, it should be other way -> boolean. Ok. I'll drop the patch then. -Serge(y) > > Best regards, > Krzysztof >