From patchwork Fri Nov 25 20:20:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Holland X-Patchwork-Id: 13056245 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DD093C4332F for ; Fri, 25 Nov 2022 20:21:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=RJMW6FfAnxgLkg93TqeVcm2AvbTgcAC6iV9vsV1fym4=; b=lwI2QRgRuI2k3h 9heca4Vh7Wvw2pF+/UAhf/K4QGkwqP1A+1PJbxhNFPTVKNpeKp/3nTpWWiXn9qXAd/iJidjXn3ixH +tmD0Vu0mw/79qp1gPE2GDywekdOYzngoREA6T2TkPLptOHTgOVyyoIXeL380x45G+bsip0L2HPv7 lGSCF8+jlfkDUYn5IlzDCGnnT9BNYv/zVNR00FKRqMAG0XfVOvNAKnSJydwvNybTzI3NDnUw+wcW5 sUDooL8cTDs89LX3eS5Wj+YTc4sEsqEKuaR+MOdvFeXN5LdPAkEf27nJFeS1jnpsr5/L8Y8aYiysO DlzHkubZ5DHxA1yiak/Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oyfBc-0020hJ-L4; Fri, 25 Nov 2022 20:20:36 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oyfBF-0020XO-VC for linux-arm-kernel@lists.infradead.org; Fri, 25 Nov 2022 20:20:16 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 60B0D5C008F; Fri, 25 Nov 2022 15:20:13 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Fri, 25 Nov 2022 15:20:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm2; t=1669407613; x=1669494013; bh=4c 1cMnkTEJZm+mQLhdjy+zCeDwbsQQc7VBHfsOzrPzM=; b=XBHa7MWT9f40zij+SK VM6iar65GqZ01iLF6f26SRHxGtwgdGYR419omOnLhks9GGoNzNLpmM9FR0Z8aUcF j62C/slPL33hI0J2d84u9AaJbIE/tck5IQKK7mN9FPKxeD5OpVqNesI+s0t+Cnw0 JN1ft31WppGKk+GnBQI7/aLEah35srtF5WSAdOQp9v50mqDvzgkN5Gl1UWXbwK/r p+I7V9O1sqzBFC0g05ruGPoBXUh54Q7IyPxyLZBqezJadgSAI+6PDGk2FMV64JaR h5K2tKPdbEGmpaBSKsb7Jh0K5ADutWt284y1ZP2Og38U1bscH8hH4Coej2Owi5gD dwfQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1669407613; x=1669494013; bh=4c1cMnkTEJZm+ mQLhdjy+zCeDwbsQQc7VBHfsOzrPzM=; b=NxuXiYt74eIVw/a352okmbm8OJZLb 1/Y22nZgdrCztlywNLJKJeHzsWHmUnTgrnEuwK9Hm9I+O/l/Co10+xfi5SDaWys8 AMtg9jv3jCFFmiw33n8haz806nd+2r3ab0r4EG3pY4t2H34O8KBanIjzw0q5R5wX woI/t/AQHgZbLs83dQ3vjrWj6s7CLHskSb38DnWUS33Z+4WXpa4T2aJ+wGjjomxM 0xnemnFPRA9eyfAnnoU0w/sTZ8gWsIFLH/5C6GQUUyZvt5NurmI5iOvJy49r2Uo9 s+bEh3FkQSXT6LSpOOGazrFctJ7LwRgpEGfYRA5WNAxzPSY7vY295xN9w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrieehgddufeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomhepufgrmhhu vghlucfjohhllhgrnhguuceoshgrmhhuvghlsehshhholhhlrghnugdrohhrgheqnecugg ftrfgrthhtvghrnhepudekteeuudehtdelteevgfduvddvjefhfedulefgudevgeeghefg udefiedtveetnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepshgrmhhuvghlsehshhholhhlrghnugdrohhrgh X-ME-Proxy: Feedback-ID: i0ad843c9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 25 Nov 2022 15:20:12 -0500 (EST) From: Samuel Holland To: Chen-Yu Tsai , Jernej Skrabec , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski Cc: Samuel Holland , 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 Subject: [PATCH 2/3] dt-bindings: net: sun8i-emac: Fix snps,dwmac.yaml inheritance Date: Fri, 25 Nov 2022 14:20:07 -0600 Message-Id: <20221125202008.64595-3-samuel@sholland.org> X-Mailer: git-send-email 2.37.4 In-Reply-To: <20221125202008.64595-1-samuel@sholland.org> References: <20221125202008.64595-1-samuel@sholland.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221125_122014_241792_3A19DA20 X-CRM114-Status: UNSURE ( 9.98 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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(-) 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: