Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp12337768rwb; Sat, 26 Nov 2022 07:35:23 -0800 (PST) X-Google-Smtp-Source: AA0mqf4EnYS2i/4xuhJrHAGuI4d0qAZThLoJ/vuwWsIe5+VxksJt/zdoVQSD+LtxNulTMjAOcXFs X-Received: by 2002:aa7:cc99:0:b0:44e:cd80:843b with SMTP id p25-20020aa7cc99000000b0044ecd80843bmr26818317edt.126.1669476923032; Sat, 26 Nov 2022 07:35:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669476923; cv=none; d=google.com; s=arc-20160816; b=NKcJVug4a0yeTItftrmPRgjhMg9V85KRKkeqT4W+x9upgCXntP+7pdcQwdQwqd+mSC VCJQstowuaS2aH7uZPrWqVt7o92z6Ph3bV7NM94vgu6ShBRbT4+WqZj1ZSQGlns3kmS+ regVp1Le3Wf8byTEu+LeRxii0K2NjRj8opZrgr6cD0zk9LaIGK0OKn+w6qjlYi7YdORX o6PgAubPzCUz5URqTa5er34O2V4yJH5Mv1dqi6QawbHtY9joLRG+jYJqIIO2bf27f7XS GejeM4oLzUZ+5Gh3B3fle5aMvNVY8LWjB7el+KRE6HcFkvZSZ3+JSwVGfzOdjJCO5VZk WEEQ== 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 :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=NCkEcXssRQbmgG+L+8GoHzRRDs8zdXaeqWwBNyHJxUs=; b=tMvo6VZS++2wdPBFAWOOSNSmNFFjZuo8RsUotKkycwG4y+Ua5+AJwfLcT5BD711uwi Ey6WHjqqX0FR0OXfuTMS3+bVt4i8HOdUEkC8LYxOYss9RJoy57pT/uqoCdQ8oKUZaLXA 24/Pc8tqYJ9JN2Jl7uVC2QmNqI17yW7ZwvaMxmtOQaJhvI9JT88AyqKgUzgEB7F1q0uR p6R2NOREFreLpd1HVt1KVjfo837WjVwIUsMW5k0NljN7/AGBdT6qZ7TDaDWqk90WOzpP L+GGiGw37TJOkGF6/UdExMKgDdlEdpL7t51uLvf1PqONRUwJyvHjnQOrsKhoTMl8jvL4 ajhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SuypPEb1; 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 n12-20020aa7d04c000000b004549b880c67si5583171edo.42.2022.11.26.07.34.59; Sat, 26 Nov 2022 07:35:23 -0800 (PST) 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=SuypPEb1; 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 S229695AbiKZOso (ORCPT + 84 others); Sat, 26 Nov 2022 09:48:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51338 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229622AbiKZOsl (ORCPT ); Sat, 26 Nov 2022 09:48:41 -0500 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0F341B78C for ; Sat, 26 Nov 2022 06:48:36 -0800 (PST) Received: by mail-lf1-x129.google.com with SMTP id p8so10908457lfu.11 for ; Sat, 26 Nov 2022 06:48:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=NCkEcXssRQbmgG+L+8GoHzRRDs8zdXaeqWwBNyHJxUs=; b=SuypPEb1ok0pZ47WzmQfbMraruPLcGJ+eF2/bqoCL8998ndLQCEOWHg8W+zb31ZOxo chldLp4jpNjwvi5D2OhgfAksJZIAu5uBt5Wg5LDYWEGwhj/W3K5eT48Mp7N+swJJnLE/ jtfeiGTuhIriPBNI5BsN6cQCAYV8zdi+2/OXJ+RjuZqwObjpwRilb2h5ncnwPzXqn2oH QEeVL8j0SHJ+uSSl9BF+9JkCRQpfsEVpJ/uI1Dwjzr+uk45W3bt+bBtwXGTEyNDKov6G 3FkC4cBtvq9FCH7Ni7+OVz1kSz9D0ekCr7cawlBwKES/N0wh2+YE8ovFhWmaOJJOFNQQ AmCQ== 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: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=NCkEcXssRQbmgG+L+8GoHzRRDs8zdXaeqWwBNyHJxUs=; b=TJy7xG2wRk/qLkIQ44XipLYwd4KCtusvFw5k6ScmBYuhcGgHj/XiH4MphxAq72qNvP rDbTOaz+NlozEf8Fh4YXK/EVRZGgNnyRax8PFZFrf8AYLCA3nl4fmGEBI1XfeZOaTQnv AVpsStrSt9yd1BYG1uVKjO0SrNbNyq8gamXOWnTsJiN8mys26D40PjLd1ifK934vzjxu 83565SvFyvUPl4Pwkogrpi22oRszOylIOs/0tZDKU4yV3L0D8bFjBSyhP+ZBpmxBe8gv 27Cr3fp+TjYPiwrZZkyplrWpOcVypK/IDxEYFO1gmdouII0DTQlMwRPV4Y7E5AGvynSk f+Xw== X-Gm-Message-State: ANoB5pmhliD6lCjQCFb6ijCOvBhUG00Avxr67CFg2OseV8LUTPKL2kh0 GKr8KavZvrLjUKvkqWdo8G4ohw== X-Received: by 2002:a19:c506:0:b0:4b1:c15c:126c with SMTP id w6-20020a19c506000000b004b1c15c126cmr9044037lfe.8.1669474115345; Sat, 26 Nov 2022 06:48:35 -0800 (PST) Received: from [192.168.0.20] (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id bj35-20020a2eaaa3000000b0026bf43a4d72sm212966ljb.115.2022.11.26.06.48.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 26 Nov 2022 06:48:34 -0800 (PST) Message-ID: <99c3e666-ec26-07a0-be40-0177dd449d84@linaro.org> Date: Sat, 26 Nov 2022 15:48:33 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: [PATCH 2/3] dt-bindings: net: sun8i-emac: Fix snps,dwmac.yaml inheritance Content-Language: en-US To: Andre Przywara Cc: Samuel Holland , Chen-Yu Tsai , Jernej Skrabec , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , LABBE Corentin , Maxime Ripard , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@lists.linux.dev, netdev@vger.kernel.org References: <20221125202008.64595-1-samuel@sholland.org> <20221125202008.64595-3-samuel@sholland.org> <5b05317d-28cc-bfc8-f415-e6acf453dc7c@linaro.org> <20221126142735.47dcca6d@slackpad.lan> From: Krzysztof Kozlowski In-Reply-To: <20221126142735.47dcca6d@slackpad.lan> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 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 26/11/2022 15:28, Andre Przywara wrote: > On Sat, 26 Nov 2022 14:26:25 +0100 > Krzysztof Kozlowski wrote: > > Hi, > >> On 25/11/2022 21:20, Samuel Holland wrote: >>> The sun8i-emac binding extends snps,dwmac.yaml, and should accept all >>> properties defined there, including "mdio", "resets", and "reset-names". >>> However, validation currently fails for these properties because the >> >> validation does not fail: >> make dt_binding_check -> no problems >> >> Maybe you meant that DTS do not pass dtbs_check? > > Yes, that's what he meant: If a board actually doesn't have Ethernet > configured, dt-validate complains. I saw this before, but didn't find > any solution. > An example is: $ dt-validate ... sun50i-a64-pinephone-1.2.dtb > arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone-1.2.dtb: > ethernet@1c30000: Unevaluated properties are not allowed ('resets', 'reset-names', 'mdio' were unexpected) > From schema: Documentation/devicetree/bindings/net/allwinner,sun8i-a83t-emac.yaml > > Why exactly is beyond me, but this patch removes this message. I don't think this should be fixed like this. That's the problem of dtschema (not ignoring fully disabled nodes) and such patch only moves from one correct syntax to another correct syntax, which fixes dtschema problem, but changes nothing here. Best regards, Krzysztof