Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp12178249rwb; Sat, 26 Nov 2022 05:35:14 -0800 (PST) X-Google-Smtp-Source: AA0mqf5QAlPQZ+Drek5BMnxD9F4t23a5WNzN9w3eVFZohAIKZRNhnvvi7yQQl1594NBE6RjPWbhP X-Received: by 2002:a63:e646:0:b0:470:15cd:d428 with SMTP id p6-20020a63e646000000b0047015cdd428mr39278589pgj.213.1669469714635; Sat, 26 Nov 2022 05:35:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669469714; cv=none; d=google.com; s=arc-20160816; b=e9Omqv42jEtjDRrmeFndPk1LbAg5N+Y/oSpbjhz2UXAUrB79YD5OZdVm5wGsapLNA3 m5cg0tE4k4Lxw5Bv5xfn+zdcBzJS7Kcy3kkTK7Y/7aBxnmDfQ/2mXeR6Qr8PKW9pVdhI 9a7cJcG2hgqPm1npq9I+TN5NJklXvTg53SuJVfL1qWBRKH35jTlpt+lEvYQMvTQzg6ru Qah8LiSLvbBl/By0xMJlIzO1kkmEAyfKthncYjyzSyCmqxXAvzsVPDT16XDboVPszMth 0DOVkWWpM8LSNlAsM9DVOdqvqjZfq8XwpWKayG9q8tK7SUuFwaEvp9LmBAb/hyIBBXHK LLcQ== 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=o4HSsW8BSppm65SzOgKkp1ueBN0+yQmM4nOdtdewie4=; b=RjY6TrmJrQZ3zd40a/pLdGeA7BHRXmdTQOzHQRW33s8fSIu6JEws4OtuwVYDXOYpiZ GMJvk91NquCRvDjT3z2UKStPuDQO/RdHzwCWKJd279jxQljBntmB+WdXS7+5ZBS2qU95 XuhoLzKZsDw+RUwdog0KveZd9dh7aII0UEybzsYatz9LpU671BWvfMw/7uNESOIALm7N 77kpwwC62neCf2zwp0AcfWie3+2nODZ+YctTViOOGUIfBW2n2BNgwbnheP24RSyRr5+n f2fsKvBR1Mhx9jxFJf3au2n4srpDwtwVmDVE/7dnuLwRdjLjxcNQgua2zNUUfXYVlXAz AweA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fQ948lgQ; 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 t20-20020a6564d4000000b0043cad841eb1si6226117pgv.827.2022.11.26.05.34.59; Sat, 26 Nov 2022 05:35:14 -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=fQ948lgQ; 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 S229450AbiKZN0i (ORCPT + 84 others); Sat, 26 Nov 2022 08:26:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229582AbiKZN0a (ORCPT ); Sat, 26 Nov 2022 08:26:30 -0500 Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 01243E0EB for ; Sat, 26 Nov 2022 05:26:29 -0800 (PST) Received: by mail-lj1-x235.google.com with SMTP id e15so259215ljl.7 for ; Sat, 26 Nov 2022 05:26:28 -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=o4HSsW8BSppm65SzOgKkp1ueBN0+yQmM4nOdtdewie4=; b=fQ948lgQWtUyPvTbVqFz9q/GMnUuxAq/xfBCHkJL16BWRoGwSi7N3Ll1/vKlrlTWf1 LN96gsqTnvCQpGN5YjYG10xuR+YaL9zM4L9WUOz8Xvv/hqroWL6TL3HT309cLxm2/KBG eCLfmz7owAKXhMPNkUHj3S0eRZidLboTGGrQwNMJE7IkX0/mvqgGT/rW5cwGPyNDqE7l ghJ5zdtCgdSttJXsAZjStUGWjArFUF3kjd7WbsSD6HxDO++Jp1lZM81h3ML1cpov6FmI 82K6z1t3VYJgrwpxQfkNtIMovDVq3xdq/yyUPZ01D40tY1sWMoYYT774LPidZ0QcrhD/ rlFw== 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=o4HSsW8BSppm65SzOgKkp1ueBN0+yQmM4nOdtdewie4=; b=4aGBRyQV/3GE8f1lIA5gkCh5DXuWB3GySLYtR8VP6Ul2sDydecTgRRHAG+uMehUuYz XiXVzdHkvnrxX1QvP2uWw6kibE2Skua3uqOpwYljPk7Kg/t3Y/IdVmwmWMBwLRhMHSJp lCCSCrwrvJmck6qcVDyQvbJ9STHowj90xBAxmX+Xm4lahRYslU0xYliIZpHCS+AlxnH0 W2hHOE8XgLm2v1Ok5qJYz0EPZV0SH44xPRcHFmeQo1LeW1porLdCJH82xYdfadnvff4K CbZaQL2tWddrq3VCYA5406L+eU+54lm/6MHhTB9RvIDXqINy5KX2+el11ccm4D5XhiX+ VhkA== X-Gm-Message-State: ANoB5plShIqYKcwBQXlVsFhKjJ4A7XxqsELOajNEsmudTAvciMggI/vh ObJm+gZ0c9cgZMbvrN2WnHQgVQ== X-Received: by 2002:a05:651c:11c1:b0:279:7b1c:9add with SMTP id z1-20020a05651c11c100b002797b1c9addmr5996583ljo.151.1669469187372; Sat, 26 Nov 2022 05:26:27 -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 y30-20020a0565123f1e00b004a2386b8cf9sm931748lfa.206.2022.11.26.05.26.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 26 Nov 2022 05:26:26 -0800 (PST) Message-ID: <5b05317d-28cc-bfc8-f415-e6acf453dc7c@linaro.org> Date: Sat, 26 Nov 2022 14:26:25 +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: Samuel Holland , Chen-Yu Tsai , Jernej Skrabec , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski Cc: 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> From: Krzysztof Kozlowski In-Reply-To: <20221125202008.64595-3-samuel@sholland.org> 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=ham 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 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? > local binding sets "unevaluatedProperties: false", and snps,dwmac.yaml > is only included inside an allOf block. Fix this by referencing > snps,dwmac.yaml at the top level. There is nothing being fixed here... > > Signed-off-by: Samuel Holland > --- > > .../devicetree/bindings/net/allwinner,sun8i-a83t-emac.yaml | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/net/allwinner,sun8i-a83t-emac.yaml b/Documentation/devicetree/bindings/net/allwinner,sun8i-a83t-emac.yaml > index 1432fda3b603..34a47922296d 100644 > --- a/Documentation/devicetree/bindings/net/allwinner,sun8i-a83t-emac.yaml > +++ b/Documentation/devicetree/bindings/net/allwinner,sun8i-a83t-emac.yaml > @@ -10,6 +10,8 @@ maintainers: > - Chen-Yu Tsai > - Maxime Ripard > > +$ref: "snps,dwmac.yaml#" > + > properties: > compatible: > oneOf: > @@ -60,7 +62,6 @@ required: > - syscon > > allOf: > - - $ref: "snps,dwmac.yaml#" > - if: > properties: > compatible: Best regards, Krzysztof