From patchwork Fri Nov 25 20:20:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Holland X-Patchwork-Id: 26130 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp4270999wrr; Fri, 25 Nov 2022 12:23:00 -0800 (PST) X-Google-Smtp-Source: AA0mqf5dOT3rgj+CejQc2+X93P0xfvWJxmRRkL/EX3L7kdXdzlJtW5d/Pzw6yR6BRTTasz7vwEXF X-Received: by 2002:a17:906:c283:b0:7ae:2277:9fec with SMTP id r3-20020a170906c28300b007ae22779fecmr32495691ejz.623.1669407780734; Fri, 25 Nov 2022 12:23:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669407780; cv=none; d=google.com; s=arc-20160816; b=LL7Cx43Dubxs4FtPehk96r3vICnQku0O77pVNB/dAwdQbZwMqe8K4N5Ce8qUuQIdXn rsJvqoxVtvDDtwRwyw4LinjlfHLinP8zwaiYFkTQzy7u2IA/JCGgEYJp1HON7F+Xi8uc zsWvoqc9LxOQGx+WtcsCZF4tjV1fQbM64aOvjCE8JWOySyWfkopVXeJp6UKeNbWGj2Lx 7pVcFk3BBc6xOoY4MNsFDOyhmAAem1aV/IvHoo5jAkTPAF3gLX0Mn1gGPOHLOcKsh6yR +7SxYZXhnjEewLkNqpglmAxva0z+c6EfQw0AXmcKKkQcWcFzzbeFWtLJ81liZRRSe73y wSvg== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id js14-20020a17090797ce00b007ade82b9333si4675692ejc.43.2022.11.25.12.22.36; Fri, 25 Nov 2022 12:23:00 -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 + 99 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 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?1750500932790576922?= X-GMAIL-MSGID: =?utf-8?q?1750500932790576922?= 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 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: From patchwork Fri Nov 25 20:20:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Holland X-Patchwork-Id: 26129 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp4270963wrr; Fri, 25 Nov 2022 12:22:53 -0800 (PST) X-Google-Smtp-Source: AA0mqf6u3ZJLqUHWUs9OuOJxP+wWiIXiYaoq2ZVU9rmOiJ4aOtRyIaXUxJ89E/3JsNqr6KfVWjhh X-Received: by 2002:a17:906:ad97:b0:7bc:42f6:153d with SMTP id la23-20020a170906ad9700b007bc42f6153dmr5225027ejb.204.1669407772974; Fri, 25 Nov 2022 12:22:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669407772; cv=none; d=google.com; s=arc-20160816; b=aKHTNse2F6EQ/Faw6UEvOhvy+Ao+UUX701mMRZS2jTlZTq2bQ5/lbW7PwHTgB3AL9s MVsosIO7eIruXgGYyLK8uKukd6Xvf8g5mQLmjWl3PSL376TWZbVRn/FBnfbxjzYhmK+Y GcHozqV9luc6k55/pTu2QqAl6WC5emfr6SMPcIIG5a1ktujPaEtkaLpIu6hcaIsHYTSP M2JkHJfT2S0xEVzx/NrUptM0M33nBbpRb80OS5lncCykqa75EXVl1QD+669VnhiTT3qk ezGpVRx1NQMbj1eRnBJbqJ1myJf/Yymp7LBmuk+qOp8LIdC5nfn+NQonyKUOe3CKkDye kx4g== 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=lOfNHybtknTjw+K3iU0INR/sKAaWBha0aC/eE2fjc4A=; b=toLw0MBDGxP1QULVau78u0hHRVarAybqUsQmoe6Yb+uTHyQWtYX0W22gafV4TuGu9d S1qBcOp30GxNzrBgo/qxFeyf0rsgdaJwBaIh5M/FzG2NmZsFjQ393OTG9u8byL5QR44v O02bX1GNXGsb20GFi86JT7LwNtuZf1Cbp3MQWcujyovvCxBU17goUXdtwg83UZaNSLjn nCqDHvK5omDC84A+BmsGJY8TQXZs9QokeyOnZGDyAYbjE18YRvt4RU5vo7kOLWfuxN/g ng/euwjYv4hZRulmsgQUPlvxVmhq3/2KEzlYqlVUjkajnLgTa+/5cz4ucspyrOdS1vQB bQkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sholland.org header.s=fm2 header.b=qIXgTqGR; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=XKKkFCma; 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 c13-20020a170906340d00b007b2a3ee2d2asi3078142ejb.703.2022.11.25.12.22.27; Fri, 25 Nov 2022 12:22:52 -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=qIXgTqGR; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=XKKkFCma; 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 S229993AbiKYUUY (ORCPT + 99 others); Fri, 25 Nov 2022 15:20:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229937AbiKYUUQ (ORCPT ); Fri, 25 Nov 2022 15:20:16 -0500 Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9FB3B55ABC; Fri, 25 Nov 2022 12:20:15 -0800 (PST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id BF1645C0065; Fri, 25 Nov 2022 15:20:14 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Fri, 25 Nov 2022 15:20:14 -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=1669407614; x=1669494014; bh=lO fNHybtknTjw+K3iU0INR/sKAaWBha0aC/eE2fjc4A=; b=qIXgTqGROEliLPq3Gk vbkiYULLGQi4/wMiLekhCC9EqrT+qFMUu14ljQffjBiwSBFBmxFPHcKNS2InAtZY bKwfuSgOZB/U9Nrr3rAeJ8+mA1FQqJBZpb62U5mLPw8zx4vNdXWsKHyScgjA5Dk3 JRCkd1+Qg3ywQKpkEXQXLCkg80yX2wT2Opy9wUlCZIiYpdgKIrPpo5iDVTFx0eqW r+ounTV6TVri53jTJkjqseu2ZEve48zuV2H375cTBwZqvOeBTbpJa7SOa9HgIfBf Z+Eh0WSHzF2a3sCDaMil0rwL9rhYNb9zVQn8NnIZ6IFcK0lZoLdmu8iTABtH9AzV 9m+w== 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=1669407614; x=1669494014; bh=lOfNHybtknTjw +K3iU0INR/sKAaWBha0aC/eE2fjc4A=; b=XKKkFCmagehapuhX9kHF3e1BO/xTP U13n7WmfBnakSp06JRWgN2U6RgYPJNSbatvI51VbkSLTWMkCIpvfeYebQC+FhDQK I1OCYDyBomSAQZwyUWc+vUkMsfw1FqpjL0xIfpfzkOR+IFBCdOzZUPSLyPhxJeh4 Hw0Gp3BP/WfU6bxHmgd/llHqzBL+f+nT56OermQ0JJ2aeUPhbcyVDJh4/sQu9CPU Vr6+Xm1CvMlaxJ5Xq1BNGalK+Dpr0T4x1/rA7nT2mbdIDR/G03zUzikxWeqw/7/X Fik9859AxurwXa5k+ENE4AyLtaAssX2pGk0LmPuTeHRg7VGXjm5twvMqQ== 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:13 -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 3/3] dt-bindings: net: sun8i-emac: Add phy-supply property Date: Fri, 25 Nov 2022 14:20:08 -0600 Message-Id: <20221125202008.64595-4-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?1750500924884621188?= X-GMAIL-MSGID: =?utf-8?q?1750500924884621188?= This property has always been supported by the Linux driver; see commit 9f93ac8d4085 ("net-next: stmmac: Add dwmac-sun8i"). In fact, the original driver submission includes the phy-supply code but no mention of it in the binding, so the omission appears to be accidental. In addition, the property is documented in the binding for the previous hardware generation, allwinner,sun7i-a20-gmac. Document phy-supply in the binding to fix devicetree validation for the 25+ boards that already use this property. Fixes: 0441bde003be ("dt-bindings: net-next: Add DT bindings documentation for Allwinner dwmac-sun8i") Signed-off-by: Samuel Holland Reviewed-by: Andre Przywara Acked-by: Rob Herring --- .../devicetree/bindings/net/allwinner,sun8i-a83t-emac.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/net/allwinner,sun8i-a83t-emac.yaml b/Documentation/devicetree/bindings/net/allwinner,sun8i-a83t-emac.yaml index 34a47922296d..4f671478b288 100644 --- a/Documentation/devicetree/bindings/net/allwinner,sun8i-a83t-emac.yaml +++ b/Documentation/devicetree/bindings/net/allwinner,sun8i-a83t-emac.yaml @@ -42,6 +42,9 @@ properties: clock-names: const: stmmaceth + phy-supply: + description: PHY regulator + syscon: $ref: /schemas/types.yaml#/definitions/phandle description: