Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4752709rdb; Tue, 12 Dec 2023 08:22:21 -0800 (PST) X-Google-Smtp-Source: AGHT+IGMlsE7E6Yfsp1feMdIKwPvcUyMjvC8bBweR+hefUQrDkv3wxbLe2K1a/b+WPXTC1DxeE4C X-Received: by 2002:a05:6a20:7d9c:b0:18f:fdc8:f402 with SMTP id v28-20020a056a207d9c00b0018ffdc8f402mr3397288pzj.96.1702398141088; Tue, 12 Dec 2023 08:22:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702398141; cv=none; d=google.com; s=arc-20160816; b=SXcds/fvd+P/MS9Ur33aDvYwTJGmPp9drKm0dlnheFn3a5mraZ+7/5+pkn+awquz1p a3Vwy8VCkladxPdoCfpwM7+JJoPi7lLh+gG9vJr1k3qh0N4lGXuG4+5jnDGveFbwiZ/z DPvnmGMJjtmcXZWm3dLB+AZNuKnJfLwG5IVtV0eN5xxKpy+0SI6S0mX8yCRzISwNbUl9 MucxuUHvDrMybX6/vnH9YTpFbCjdKNMEkIulpcldMwayC0xlxCpmZzA+AlDpngqcvzfk aap55RmTtyuVV80C2m6oSGEAe/moA9HkdPqICFGemdmELqq+MHtaiqFk9/1XBR8HQ518 zQdw== 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 :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=yLtY1EG66SnpLkpFKcydWtuIF8+xHMEg4bZco3X04LE=; fh=Qjn7fdbHogKFO0Ngird0yo8YjLSqbE/cKx60KrC1x0Q=; b=ilYVCQplKgnSTAaKhhEFPtnqa2rZ5/2wc8CgZCc/2KnKca9Wo6Ov0G8qucuKTO4Dxi Bn2/gzBfAkPRpm1xSfaG9SmfwsOBQEeRna//htNbiUqRSiTpCHHsuKIkSjrRZb0vZIFJ 4IRPIlU2kNjTCLnKznPaynpVO8dyltaqJCDv6nCGU0eV43Ioi41curJ99eBKNPpcDZLP cRQyMKJRJ1vqRnUcC/gMObRfSCF3Fgo9NrIe9zwlTze5Pn4VL1WGk4SIi5j1c0883Mcf ZINWQonH6mD1iGKKMZ0hY05OP11lmFcxW5MtUQXpIfcYRffuf3rUY302b4iMmPTugCzw XVRg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id i12-20020a65484c000000b005b93bfe91f3si7901337pgs.577.2023.12.12.08.22.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 08:22:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id E7C9D803D81A; Tue, 12 Dec 2023 08:22:18 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232559AbjLLQWF (ORCPT + 99 others); Tue, 12 Dec 2023 11:22:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232326AbjLLQWE (ORCPT ); Tue, 12 Dec 2023 11:22:04 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A05E7B4; Tue, 12 Dec 2023 08:22:10 -0800 (PST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 66B36143D; Tue, 12 Dec 2023 08:22:56 -0800 (PST) Received: from donnerap.manchester.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 5BC0C3F738; Tue, 12 Dec 2023 08:22:08 -0800 (PST) Date: Tue, 12 Dec 2023 16:22:00 +0000 From: Andre Przywara To: Anne Macedo Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-arm-kernel@lists.infradead.org (moderated list:ARM/Allwinner sunXi SoC support), linux-sunxi@lists.linux.dev (open list:ARM/Allwinner sunXi SoC support), linux-kernel@vger.kernel.org (open list) Subject: Re: [PATCH] arm64: dts: allwinner: Orange Pi One Plus PHY support Message-ID: <20231212162200.10b3868b@donnerap.manchester.arm.com> In-Reply-To: <20231212122835.10850-2-retpolanne@posteo.net> References: <20231212122835.10850-2-retpolanne@posteo.net> Organization: ARM X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.32; aarch64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Tue, 12 Dec 2023 08:22:19 -0800 (PST) On Tue, 12 Dec 2023 12:28:30 +0000 Anne Macedo wrote: Hi Anne, > Adds compatible values to mdio subnodes for Ethernet PHY representing > Realtek 8211 PHY to Orange Pi One Plus. So can you state why this would be needed? This is the RTL8211 ID, right? Which should be autodetected via MDIO. Looking back in my inbox you proposed this change before, for U-Boot, specifically, but I fail to find a solution or explanation what really happens here. Two Renesas .dts files have the same compatible, and the commit message talks about the reset line there, is this related? So can you please give some more background and explanation? That would be part of a good commit message anyway ("why", not "what"). Cheers, Andre > Signed-off-by: Anne Macedo > --- > arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-one-plus.dts | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-one-plus.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-one-plus.dts > index 29a081e72..7248ab72f 100644 > --- a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-one-plus.dts > +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-one-plus.dts > @@ -37,7 +37,8 @@ &emac { > > &mdio { > ext_rgmii_phy: ethernet-phy@1 { > - compatible = "ethernet-phy-ieee802.3-c22"; > + compatible = "ethernet-phy-id001c.c915", > + "ethernet-phy-ieee802.3-c22"; > reg = <1>; > }; > };