Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp11213465rwb; Fri, 25 Nov 2022 12:32:36 -0800 (PST) X-Google-Smtp-Source: AA0mqf6YbW24ZcTY2SNX3x+pfrA9yddj3yf3JjChiJ+RLMsdeGW0ZW+qCkn+oGXaIzPXWJiRnVis X-Received: by 2002:aa7:954e:0:b0:574:36b6:f91b with SMTP id w14-20020aa7954e000000b0057436b6f91bmr16528726pfq.55.1669408356568; Fri, 25 Nov 2022 12:32:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669408356; cv=none; d=google.com; s=arc-20160816; b=1HEBXpeOimrSYnh0YTgiTUi33dt/00JKXAZVIAEP9mT1ITjU0PhwManw7BlZWV8+6B 6w7H2Kwbto2dlJcIhz76jkwXkOM7EzO498/sW+x51iaOdCVwRprujyhHo5KpfqlAVOit vdMB6apOAtDWYurt6tdzOQVB8WxAb7YPuzIL84foLy9FrrXOCapT02hL/J3zUmVyDa6S DJ/ijVAiX8BGAUBukkEWTtMNJacy0mWVyFXYGoAstXYi/Z/zgYPFyY3JKqAg2ZThpi01 wjEBj1czbrvNy7Kd5sHUtoQwC6hEvASKV8d8e5Cn9I7O4j+sWC4c4EC6Hibaad5xxBBb rvBw== 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=XvYd3O3PElFieIucJx8p0pjVLEo0Fa7C1MYYL6bHqkA=; b=BIFgpPBDzPOJ0PkXyHd8903qrknDdESM+WY6DfnFrr09o47ZFAwOdKXqmUpHjCdaRJ o4SHNGf7pDkdJh10I6d+ly7ZYPgNb5K/oimWzyJyTHtoofWgVY261886S2qbrKE/secm LQ/o1Jfot0VGuaJc4RXWbR6uSVJVpoH4y+C1+fEkSdNTqdzUqVS3iGU1vtn15U7M3w4D /k8zwbpP1dbfNE2871T2QwoXu8rne9Y4Uf7wyQOMb+ue7bfrJ+sKqdeCcS/gosaZ/Y1t 2rl1Ht2mT/alawPkTaoD6E33ZbMpTVEDgj1JSv8kq6Zi4tObiELVy9GigyqNfMO9Sx5f OcQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sholland.org header.s=fm2 header.b=Y7VZu00x; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=UolxMNLa; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id rm2-20020a17090b3ec200b00214201e8996si5245162pjb.18.2022.11.25.12.32.25; Fri, 25 Nov 2022 12:32:36 -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=Y7VZu00x; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=UolxMNLa; 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 S229953AbiKYUUR (ORCPT + 85 others); Fri, 25 Nov 2022 15:20:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229601AbiKYUUN (ORCPT ); Fri, 25 Nov 2022 15:20:13 -0500 Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 954E6554C9; Fri, 25 Nov 2022 12:20:12 -0800 (PST) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 011825C0082; Fri, 25 Nov 2022 15:20:12 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Fri, 25 Nov 2022 15:20:12 -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=1669407611; x=1669494011; bh=Xv Yd3O3PElFieIucJx8p0pjVLEo0Fa7C1MYYL6bHqkA=; b=Y7VZu00xSWWOgOpwTX EMdOQPnr2noQl2MWEaqECbZH0F60MGPpkfGKsytkL8VTMgJxgS3bZi+vU43TaZMj X1hvF8JHVc1Om2A+RvQD5UtRDxRx6pFC0Chmz0Q2m5ceVZbC14fCgcDfVTw8Eu9l CUqDtv1iBJke8m67Ic5L9pitjdolo11+KOvYi+caGNZvF4yIkyuLOcuM0OhUw5Uj p1wtd9c+AGpejoK23IzQCQBDvLcCH9OvAdr5z7mlrrs5uLbyJ5oa/ydQMBNNiq4l 9Gmt5FDfaFIwo6dAxv6pKdhHW9b0xLh/u5lGNK7JDhDkPvO+Xib9Ho/Sb5hqG++I S0aw== 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=1669407611; x=1669494011; bh=XvYd3O3PElFie IucJx8p0pjVLEo0Fa7C1MYYL6bHqkA=; b=UolxMNLaLjzNN/7vY1jUCODVUOXSO FniIPtmZllgypn4vrvtJTHiqwRhyA0rYRdELdUY2XD0U5YzkC8oxhw5vG+RJ6IE1 giZN+L2UqXcADphQfvTAYI8kSqle03nRRW/ncv2m+hdO2vtLrZ+5wy8/I9RRWUID Uqw31kWXqqws6+afOT2mvbuVqNY04cTSSDiC36OAFW40SEljRvrZc2Z/Ay+FvtyN zSbVwiRL9fJWArfkUBRNG9/MwYFZj8vBLDKMe2M7gzG0D+RMBvbBFAn03Q23dU4v QL02VnKizjo+YuQlEC51s2wtyuEXZDxepmI2fgxldLd73K0PGAnWKtb7Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrieehgddufeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomhepufgrmhhu vghlucfjohhllhgrnhguuceoshgrmhhuvghlsehshhholhhlrghnugdrohhrgheqnecugg ftrfgrthhtvghrnhepgffhvefhgfehjeehgfekheeuffegheffjeegheeuudeufeffhffh ueeihfeufffhnecuffhomhgrihhnpeguvghvihgtvghtrhgvvgdrohhrghenucevlhhush htvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehsrghmuhgvlhesshhh ohhllhgrnhgurdhorhhg X-ME-Proxy: Feedback-ID: i0ad843c9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 25 Nov 2022 15:20:10 -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 1/3] dt-bindings: net: sun7i-gmac: Fix snps,dwmac.yaml inheritance Date: Fri, 25 Nov 2022 14:20:06 -0600 Message-Id: <20221125202008.64595-2-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 Content-Transfer-Encoding: 8bit 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 The sun7i-gmac 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,sun7i-a20-gmac.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/net/allwinner,sun7i-a20-gmac.yaml b/Documentation/devicetree/bindings/net/allwinner,sun7i-a20-gmac.yaml index 3bd912ed7c7e..7d2c62b4ccad 100644 --- a/Documentation/devicetree/bindings/net/allwinner,sun7i-a20-gmac.yaml +++ b/Documentation/devicetree/bindings/net/allwinner,sun7i-a20-gmac.yaml @@ -6,13 +6,12 @@ $schema: http://devicetree.org/meta-schemas/core.yaml# title: Allwinner A20 GMAC -allOf: - - $ref: "snps,dwmac.yaml#" - maintainers: - Chen-Yu Tsai - Maxime Ripard +$ref: "snps,dwmac.yaml#" + properties: compatible: const: allwinner,sun7i-a20-gmac -- 2.37.4