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: 26128 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp4270718wrr; Fri, 25 Nov 2022 12:22:14 -0800 (PST) X-Google-Smtp-Source: AA0mqf6uKb5zgUW0PiG/glrqKz+YmgpukzTmMjsRhTNX+RP6BrJQZmt5ebF+zNm/2C9lhHLvbPR/ X-Received: by 2002:a05:6402:1950:b0:461:4c59:143c with SMTP id f16-20020a056402195000b004614c59143cmr35401272edz.85.1669407734671; Fri, 25 Nov 2022 12:22:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669407734; cv=none; d=google.com; s=arc-20160816; b=sMrNeCWv7Go8qAyNP6Bk4RuZowNkOm7E90l4zcUb/r56hoMNYL60byazDO0voWLUq1 EgLR5OSsvYriZ+fIe/AN61Hz21UkHiGFXxXLwrB2uyS4PSj4C1o9W6vTjBpLaHGEMX4J /1r+f67jvxjPybOwHwBDOlh3/CBP0ThXRQqqO4TBqJFmAlwSE6ubiAdsbKqGDvQyCi83 NjQwvCO1yQKGk5VL+s/IGIt5+XlhcJ1vuokE7PCRut8qypJ6FqFz21a/4VJmiw2XeyFn LlvDL68NX/QWnfSBK4+LrMdxeUdI2OA3Q1JI09zrKs1H+VExyY70AIxp820lpUbIGfpa +N1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :feedback-id:dkim-signature:dkim-signature; bh=4c1cMnkTEJZm+mQLhdjy+zCeDwbsQQc7VBHfsOzrPzM=; b=gOyUTCm8VllK0tw3NtSHAURGYU7tjol6Q7NTW4IJTLcRUwAS7CW3jjKNAQo8/dkHhQ iXcSz6gwLQoIlpXEYN7ARKbMOiMt8qxMlg5apNgBITaWyHGAd8xh74LT8tE1S05Q0Q6n bxALtI8DaN8QE5HXxy2ULjIxjXVxTaK4XHkZGWwHOPGskTnQyBFMmGgEumwiO/ITUXny sx4baWaE817Lx/jC+Ia6NNJM4H7z/GzEAeNxdXS9JgnWtoE55tS7ZSPJtIkKDnYgef+r EZWtW8Jr73fOWBwViVP7PRSHbG6UtEgZQChFEJLVzewisMWzQsfEQrJvnvKi+LGHxaky B1RQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sholland.org header.s=fm2 header.b=XBHa7MWT; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=NxuXiYt7; 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=sholland.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id wu9-20020a170906eec900b007aeed8bdd50si4451229ejb.639.2022.11.25.12.21.48; Fri, 25 Nov 2022 12:22: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=@sholland.org header.s=fm2 header.b=XBHa7MWT; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=NxuXiYt7; 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=sholland.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229979AbiKYUUV (ORCPT + 99 others); Fri, 25 Nov 2022 15:20:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50618 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229904AbiKYUUO (ORCPT ); Fri, 25 Nov 2022 15:20:14 -0500 Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E87D6554C0; Fri, 25 Nov 2022 12:20:13 -0800 (PST) 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-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750500884824224489?= X-GMAIL-MSGID: =?utf-8?q?1750500884824224489?= 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: