Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp12249064rwb; Sat, 26 Nov 2022 06:29:32 -0800 (PST) X-Google-Smtp-Source: AA0mqf6MnNx6adqilQyAWZMS0M3ri5asXsg0Q8ybNx12wEBByEN9yXf98+RckbWaNUF01hlSBkbd X-Received: by 2002:a05:6402:4027:b0:468:fc39:e89 with SMTP id d39-20020a056402402700b00468fc390e89mr23507820eda.170.1669472972049; Sat, 26 Nov 2022 06:29:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669472972; cv=none; d=google.com; s=arc-20160816; b=qxP8DvO1Sv/3L4Tcr/Er9Ef1+zP/45YA6AuV8tskxaove4d45DtesDHT6jMDcCMlz9 dj/wFqAEKRW5qao9UaKy6ZPz26Zl092tfvEOVM/b1He6/a8wrvKAl/5G6jnSBrdsCvDC E27NZNIMM+JJCcGazVEnBLlvoj6g3/3Elw6yvNTTmLU+OcmqzzzYmhGvRr4vNZs5Qp6V t3Eh8Os5rdz2GNXCKwEWHLCUtN1euHQIsDGFqivOohZ+PukrJ/GLGsCmI6eFRUkEv8Ln DiNcctLlXoPyirfMnNvEMfjVqhgPzsFOSFO35kbPNrO0cusjk5skVeSVvfwVq9bPIvNN SX6w== 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=c7lsnrFz2J4XCfERjKRpvtXDg4lRZmdlG/n7oHHCiX0=; b=wtHRzZ2ebd90zkUFDBe0Bt8bKY1fT1iMfCg+p52gENQkicWHzbIe0OPFfl1YYjtSZR uxDf1R9VOEKf8hJVXU6mKdP4hWmj9cZzoK6tg77cdRbbAnFazABb8WpZQKs9ZSQECRzX TGhtr1C7pxdeMofGXnNVWJo+AYEpHllGCSruqLNT0ZI00m2bAkF/C5Ba5MzM54Z3qSgO V4GOVgJUcjza44SjnQ7LEJS0PgufTCeIONsL3ejFDdGfYTyq25NU5ZF1UsNnQg4FzEEM EwOGL0JRM+BWQj9n52kZw0c3MnkGnRGkfaFe9UNHSzILwKAAgRq3P/hY5KxXp8XV6zve iRHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uL6T+tjT; 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 bc5-20020a056402204500b0046805e6392csi4838731edb.474.2022.11.26.06.29.11; Sat, 26 Nov 2022 06:29:32 -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=uL6T+tjT; 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 S229504AbiKZOPf (ORCPT + 85 others); Sat, 26 Nov 2022 09:15:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58036 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229436AbiKZOPd (ORCPT ); Sat, 26 Nov 2022 09:15:33 -0500 Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AFE961DF32 for ; Sat, 26 Nov 2022 06:15:32 -0800 (PST) Received: by mail-lj1-x229.google.com with SMTP id q7so8127542ljp.9 for ; Sat, 26 Nov 2022 06:15:32 -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=c7lsnrFz2J4XCfERjKRpvtXDg4lRZmdlG/n7oHHCiX0=; b=uL6T+tjTFarMty+fOPuM9bBuM6CyZdwX1GD0aoo+VJMs0BKYtvvXXVag2uR/zCOA84 EBQ1xKdylwBPJxw+TG//u/mnfKBMaHT69pedL4/Pbav5Wro3iMc0LFNaznqaKJ7HEi7q GYnVzDlks7f/xpGh8k0RDjorw3XR9d7sJs1kducgSNDos0LRAah/+D9yOAX+dXLtvylm V/9VhLKefv1cbRT2IRWGiErIjijEPOUe7VPX7X4RR4cryLxlItC0erXt6t5OvrRk6MVD gWIQjfFXfs3HxTIFpCJsxuMNyTG4XiHfB9u5sAS45mUSUgYrtR0CkYar4GKrX2yvR/rz 4KZg== 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=c7lsnrFz2J4XCfERjKRpvtXDg4lRZmdlG/n7oHHCiX0=; b=lBpEOZq326JGka+lXA1KXKssJPEoZ3sV8CcOuFbl8FqAiFxThkufPrMxXOQmgM8p5f 2JrSRpy8gTBK0bFEqESGqWMEI+FVha+8KivVIaCiSUwL85b2xdgYFL5vglhRcut+baib 2cV2TZ1+gwVqkOgWXC/LIBc+1OfI6bszlZr5u+DjMo9tixpdp3SS+3/Xy9O3dM6bidHh J1j2XvxjhlwjzBzXf5ATaj5DSEDHI8f61ke8cMQ2q0eGtESalq+MHBvdm07J16ym8aaH MVrY+0JkALnJcpfCRf+eG739ZPU/2T5YvfVgpKNmcSnWDiuE5F4YXAMv8Iwnn03VLe3t Vy6w== X-Gm-Message-State: ANoB5pky4M2bGrp9vVPglwibq9txN7sse0ksKsCfEkhbGAEWoWTMyyX8 KsbL1P/VaYOQ0sGilz6PnbjRTw== X-Received: by 2002:a2e:be8c:0:b0:26e:95bb:d7cc with SMTP id a12-20020a2ebe8c000000b0026e95bbd7ccmr11017551ljr.203.1669472130993; Sat, 26 Nov 2022 06:15:30 -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 b4-20020a2eb904000000b0025e00e0116esm349417ljb.128.2022.11.26.06.15.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 26 Nov 2022 06:15:30 -0800 (PST) Message-ID: Date: Sat, 26 Nov 2022 15:15:29 +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 > 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. > > Signed-off-by: Samuel Holland > --- > > .../devicetree/bindings/net/allwinner,sun8i-a83t-emac.yaml | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > I must admit you're right that this hides the warning from dtbs_check, but not because something in allOf should not be included. The problem is how disabled nodes are being parsed here by referenced schema (snps,dwmac.yaml) and probably is a bug in dtschema package. Best regards, Krzysztof