Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp3487917rwb; Fri, 30 Sep 2022 04:28:08 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7OK6MZL+fywmzj5Jypturh5vemRHOWn4PP0NebyGAfe3EKSCOmVLqgCPQSWUZi1+yRkpVW X-Received: by 2002:a17:907:628f:b0:72f:58fc:3815 with SMTP id nd15-20020a170907628f00b0072f58fc3815mr6224118ejc.719.1664537288630; Fri, 30 Sep 2022 04:28:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664537288; cv=none; d=google.com; s=arc-20160816; b=M8dH3U9etOoFX/x7Yvf8U8fZdB9KmTjcuOG+EqvMEgdVqKvdALTHH6AX42fUyS1y+Y Bfg2s3HNivssf2qB5C6l7+bQN9ieDqoqnf3MlbjFhMU0jMaAOI6R8uLie9cd5vmDpDDn WHUtbfuBtQq2nFKLO7HTPBGnqdWWk95lKkqSkUnkAdEgIP0gbyDnD0i2zOOAGDKIdpAM orMRejvEU7wTcX107QQxzMDxZYGVQbtGRB36UP0bqwQtCypxn7w5c7ZbV94mqJlei1h/ kx0cW6Ur4pJJMRql1CJhVL7d8dzruQyeWyXargh9qQOh+QJaAyargPW5walxhw99yFfQ nWQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=DcsCImqzPTtzDW+tcf53orV9UGxO9/x924I5Tz5lCW0=; b=e79+M3sIEBKfXL0L4p/rXJcCXT7I/tNluLCSvBeF3Qkb1o0oF1je7RhpxDNpmDSL19 1kRiXSjOx9HpCLGzNNy+KJ7CnohYMlUN+q8EKehWFZ/CIxG5KVFKUhqCBPEOlOzIX50F PgB3TvnbbDKjgRcfNRvR/mw1mTMejV4rUOdm7HFzv9t+99VcrHHCoLI3Kr4CWc7+BhMz vEwhhX2aCRv3eM9aSDmYf1r76K7MJOD2kAJtwbmYeDDlT9GegYEKwZ1zks5Mww1BrJKT xeoCjc4difPRY/gGpl2VkuGJCD1GdRIxGTyKMAOVJ/E2Ybkp9AHwMR32vaFTftQg17K1 WvPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DOBegeC3; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id oz11-20020a1709077d8b00b00780e022dfb8si1856111ejc.494.2022.09.30.04.27.42; Fri, 30 Sep 2022 04:28:08 -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=@linaro.org header.s=google header.b=DOBegeC3; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231332AbiI3LQ1 (ORCPT + 99 others); Fri, 30 Sep 2022 07:16:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231767AbiI3LPy (ORCPT ); Fri, 30 Sep 2022 07:15:54 -0400 Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E39A5E679 for ; Fri, 30 Sep 2022 03:58:17 -0700 (PDT) Received: by mail-lj1-x22c.google.com with SMTP id b24so4395323ljk.6 for ; Fri, 30 Sep 2022 03:58:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date; bh=DcsCImqzPTtzDW+tcf53orV9UGxO9/x924I5Tz5lCW0=; b=DOBegeC3Tt/LD6Tc9/ludEXVJJkVcz3y+SfHVxnl0ptEwm4PI+2nPrOBrXdMm8QVFd pICuieo3rxj5ujEO3EdSjl8QIIBduUUj2S2SXewt0KEQqmFICZA+yiEDy1gBL2cRBaMi w+Lx2ZJ83Id/0aQ9MUUi46pyGWmNKXxCGmPt5MEt2/wdo7r26mNhIltCc6PGdnEi5LOm SdC5J69g1+3uNzK0iylzlMkX5e2NLutOXzBQHDo8PcjtOcwj0SJP1rZKoZgTB1HJzzYH VwXHPci5W2EmUoVi8TC6259gf/DqPb0gbiJUbZK3QOWCwtsgUhyekEOCfzmQAIKyUHbg snqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=DcsCImqzPTtzDW+tcf53orV9UGxO9/x924I5Tz5lCW0=; b=FAyhDUu26fUnvsUadLLN0+X7xCbMfxCewCOfc2gbYXwrVLsFglUiNEXZ5snyIyR+4n tB4qiWmkb+tnk6kV6nbK6857zja/Pmhs5ToybQbE93VxrrH9EPCfHtQ7JgSHj5idvxU+ qXMp8RpBaCxtZrcMqWAfyo/rD5MFABlaE/1I0P78sXH21X5UG1n161T4ZsN0E5nkuw1N aXYpUstdoNxJPSvAH3v1lE1Y2QPYu43Y6/REbLL+KRu12m0sU+EW/FfMcUzeB2o1Imik vLBeryxpMZUuN0kfpGTorP9qiseZLDJ4O8L3hio4CqLv9YNs7mMbNH47lq76eqdfQnct ttqg== X-Gm-Message-State: ACrzQf3FUUbxDhULSiSTEMkbCWu61oHHjvQ1kLc9EThSWnZYBR9ME8sx X4CQ61nEJSfzHsNYgZwIaes38DOwl8LjRg== X-Received: by 2002:a2e:908a:0:b0:26b:fd3:1870 with SMTP id l10-20020a2e908a000000b0026b0fd31870mr2628888ljg.120.1664533573044; Fri, 30 Sep 2022 03:26:13 -0700 (PDT) Received: from [192.168.0.21] (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id d15-20020ac25ecf000000b004979e231fafsm253439lfq.38.2022.09.30.03.26.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 30 Sep 2022 03:26:12 -0700 (PDT) Message-ID: <9999a1a3-cda0-2759-f6f4-9bc7414f9ee4@linaro.org> Date: Fri, 30 Sep 2022 12:26:11 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 Subject: Re: [PATCH v2 3/4] dt-bindings: net: qcom,ethqos: Convert bindings to yaml To: Bhupesh Sharma , devicetree@vger.kernel.org Cc: linux-arm-msm@vger.kernel.org, agross@kernel.org, bhupesh.linux@gmail.com, linux-kernel@vger.kernel.org, robh+dt@kernel.org, netdev@vger.kernel.org, Bjorn Andersson , Rob Herring , Vinod Koul , David Miller References: <20220929060405.2445745-1-bhupesh.sharma@linaro.org> <20220929060405.2445745-4-bhupesh.sharma@linaro.org> <4e896382-c666-55c6-f50b-5c442e428a2b@linaro.org> <1163e862-d36a-9b5e-2019-c69be41cc220@linaro.org> Content-Language: en-US From: Krzysztof Kozlowski In-Reply-To: <1163e862-d36a-9b5e-2019-c69be41cc220@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 30/09/2022 10:12, Bhupesh Sharma wrote: >>> + snps,reset-gpio: >>> + maxItems: 1 >> >> Why is this one here? It's already in snps,dwmac. >> >> Actually this applies to several other properties. You have >> unevaluatedProperties:false, so you do not have to duplicate snps,dwmac. >> You only need to constrain it, like we said about interrupts in your >> previous patch. > > I was actually getting errors like the following without the same: > > arm64/boot/dts/qcom/qcs404-evb-1000.dtb: ethernet@7a80000: Unevaluated > properties are not allowed ('snps,tso' was unexpected) > From schema: Documentation/devicetree/bindings/net/qcom,ethqos.yaml > > So, its not clear to me that even though 'snps,dwmac.yaml' is referenced > here, the property appears as unevaluated. Because snps,tso is not allowed, but the rest is. > >>> + >>> + power-domains: >>> + maxItems: 1 >>> + >>> + resets: >>> + maxItems: 1 >>> + >>> + rx-fifo-depth: >>> + $ref: /schemas/types.yaml#/definitions/uint32 >>> + >>> + tx-fifo-depth: >>> + $ref: /schemas/types.yaml#/definitions/uint32 >>> + >>> + snps,tso: >>> + type: boolean >>> + description: Enables the TSO feature (otherwise managed by MAC HW capability register). >> >> You add here several new properties. Mention in commit msg changes from >> pure conversion with answer to "why". > > Right, most of them are to avoid the make dtbs_check errors / warnings > like the one mentioned above. All of them should not be here. Best regards, Krzysztof