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 29E3AC6FD19 for ; Thu, 16 Mar 2023 08:09:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230372AbjCPIJo (ORCPT ); Thu, 16 Mar 2023 04:09:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230075AbjCPIJm (ORCPT ); Thu, 16 Mar 2023 04:09:42 -0400 Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 45B779474E for ; Thu, 16 Mar 2023 01:09:40 -0700 (PDT) Received: by mail-ed1-x531.google.com with SMTP id r11so4213339edd.5 for ; Thu, 16 Mar 2023 01:09:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678954179; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=qsSpi02AtRNWSprHN4Cl76ayMyVQlvN90GOQNuiLzbY=; b=iOdoB48DSlJTxzYGvDakUwMgdpYpWIUL4nfKitoVvMKmpNSyhwjFVq5uG8uzBnOUTW x/rivZ/fOZlHihUW0EUlamLr9+U3JqiPhma3II2aEWX2H2cN7KeBfxWXgOitFL3S3jca duHj69oaASj2MjNwQZd1rqfDb0suikr7FoD5Rc5SckWkmQMaf3gOUAH8b2ejtUmFp3Lb aWFIeNUEtYqYQzPS2/LdlPFDEjFTr34eqfTcbB6ICYL3fwBAQbhXVRairVx5zmKMFpss i7boP9CRkkaiO7mbTly7kJanoyzHwc5jtEGZbGklG1O0kvBZlUg+GVImBpiIFZgSS2tz fjwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678954179; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=qsSpi02AtRNWSprHN4Cl76ayMyVQlvN90GOQNuiLzbY=; b=jbrGOm6zPjz/Z245Z98NOJA0zs4QixpidavQD5YS16N/mHMEsXKjXnoB8kKLFULNQr otNhBwxY9t+N8/lKCUqDWnFlOBJX9V5n0VY4L/UsUFIvLRQxtGGJxFOTVshYD/ANXl3Z wxL7UJAPs8/RF8gwJ3HCqCmdyhFtokWftQSCLHoZshMbwGE2lVjo0XYgoKhEFd0wlX2n OxH+qKoHamIJqp1FhprVHVLSeV1bfC7HkR46/fgzgYeqbDwgtCucFV4oEJwXn27BuQCE 0HUdQCaNbiA1/CdpSvUKsZAYXWdtBZX4b5gkvWOLx0HeLsyxyn2ktbGDe5gUbp1v2NWM huAg== X-Gm-Message-State: AO0yUKUVSUMRstiid1QRBcy/H9dz7bwlN0giq6HDgCNFuEtgBQSp0IBA kkvJHA0EuI3En60omJTZCKoBaQ== X-Google-Smtp-Source: AK7set9qRwS9KK6hBBohaRF3L5B2ru2zJVrTS4WbmbGRiLcPQJ7BzlvfGx8yi9xnXwYWSRhxP+9xSg== X-Received: by 2002:a17:907:c22:b0:930:1178:2220 with SMTP id ga34-20020a1709070c2200b0093011782220mr2685504ejc.40.1678954178709; Thu, 16 Mar 2023 01:09:38 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:9827:5f65:8269:a95f? ([2a02:810d:15c0:828:9827:5f65:8269:a95f]) by smtp.gmail.com with ESMTPSA id td10-20020a1709078c8a00b009256a5c3b2dsm3559556ejc.90.2023.03.16.01.09.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Mar 2023 01:09:38 -0700 (PDT) Message-ID: Date: Thu, 16 Mar 2023 09:09:37 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [PATCH net-next 14/16] dt-bindings: net: dwmac: Use flag definition instead of booleans Content-Language: en-US To: Serge Semin , Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Maxime Coquelin , Rob Herring , Krzysztof Kozlowski Cc: Serge Semin , 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 References: <20230313225103.30512-1-Sergey.Semin@baikalelectronics.ru> <20230313225103.30512-15-Sergey.Semin@baikalelectronics.ru> From: Krzysztof Kozlowski In-Reply-To: <20230313225103.30512-15-Sergey.Semin@baikalelectronics.ru> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Best regards, Krzysztof