Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4042737ybg; Mon, 21 Oct 2019 02:52:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqwCux5CRjSXFtod8V+/Hko/NRX4trg13X2dsmTOQ/67h+D57oT4vOVXbM9nVBihHIliwT/G X-Received: by 2002:a17:907:20b3:: with SMTP id pw19mr20821676ejb.76.1571651530990; Mon, 21 Oct 2019 02:52:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571651530; cv=none; d=google.com; s=arc-20160816; b=a2eufpU6OmGUIfJSeF/ok3RJk8VwYh6IBe8rsBiUGTSPB6srzsk2Amox8Fo5++Im5E MBCHb+2BHwTHRY2fannHpY+7Foi/XCoh7J+uQaM8btGc0G5TQcaaLxGezZTx+hhLkaBg czlF3XJcMSN6szdM5YvR4Fhzgfc3T3TBubNQUi3oWE9mZLlpsWvEej65/+wyAUieeMA5 q+hTXdXAyf+hkEfSpwe3MbOCDE4jiVBqhIch5yVeXll+zNeQ0O37mNN4LEMhtrCENdY/ cFT6A2S2PmGjtmJszexXupyDdhzKEcXvpFOjjxwWBE1Tan7lAlDF9twEoyQWPnzDHeEk Q6MA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=mOV8cP8wHQxQob7kKpGYzP06Gk3D+W46THLFm2in/6Y=; b=YncIISh0I/D2Z3UsNtXdkwvlzyBsDKpONFz6zYZ3gMyFLVCAdOveTcUnztCjLKISdv HVtQov0k5ct/bM6TW4MGvL2aGggpJUhntmYe8mR2vn4R7cbKo9HvGQc8rgVoLOuSdVa9 SUQY2wBb/HFkpGRl3K8teRShxXgyw0GMJBWvwfW3rxdOBobtnUTjNvRkW5yKNZOOsWB7 4Y8F7zst1Ko61N0J62+1YAa1Lb3GC1m9VPaHb4b2qgv7BdyhDE0mT29qO3REf+xILqwU +izqxEDwipSceXcmoklqc9Z4GoayHEx0WW1FYcTFQw3pNRcpF6mToSgD2fZG9H1GlIQw JqaQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p4si7967765ejj.334.2019.10.21.02.51.48; Mon, 21 Oct 2019 02:52:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727774AbfJUJuS (ORCPT + 99 others); Mon, 21 Oct 2019 05:50:18 -0400 Received: from metis.ext.pengutronix.de ([85.220.165.71]:38393 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727284AbfJUJuR (ORCPT ); Mon, 21 Oct 2019 05:50:17 -0400 Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iMUKM-0003je-1U; Mon, 21 Oct 2019 11:50:14 +0200 Received: from mfe by pty.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1iMUKL-00040z-BG; Mon, 21 Oct 2019 11:50:13 +0200 Date: Mon, 21 Oct 2019 11:50:13 +0200 From: Marco Felsch To: Peng Fan Cc: "robh+dt@kernel.org" , "mark.rutland@arm.com" , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "festevam@gmail.com" , "devicetree@vger.kernel.org" , Andy Duan , Jacky Bai , Anson Huang , "linux-kernel@vger.kernel.org" , dl-linux-imx , Leonard Crestez , Daniel Baluta , "linux-arm-kernel@lists.infradead.org" , Jun Li Subject: Re: [PATCH 1/2] arm64: dts: imx8mm-evk: add phy-reset-gpios for fec1 Message-ID: <20191021095013.3lm2slv6glqx5nnh@pengutronix.de> References: <1571649512-24041-1-git-send-email-peng.fan@nxp.com> <20191021094420.wmy5w2tp532dibqm@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-Uptime: 11:47:55 up 156 days, 16:06, 98 users, load average: 0.06, 0.09, 0.09 User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c5 X-SA-Exim-Mail-From: mfe@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 19-10-21 09:46, Peng Fan wrote: > > Subject: Re: [PATCH 1/2] arm64: dts: imx8mm-evk: add phy-reset-gpios for > > fec1 > > > > Hi, > > > > On 19-10-21 09:21, Peng Fan wrote: > > > From: Peng Fan > > > > > > We should not rely on U-Boot to configure the phy reset. nitpick: s/U-Boot/bootloader/ ? > > > So introduce phy-reset-gpios property to let Linux handle phy reset > > > itself. > > > > > > Signed-off-by: Peng Fan > > > --- > > > arch/arm64/boot/dts/freescale/imx8mm-evk.dts | 1 + > > > 1 file changed, 1 insertion(+) > > > > > > diff --git a/arch/arm64/boot/dts/freescale/imx8mm-evk.dts > > > b/arch/arm64/boot/dts/freescale/imx8mm-evk.dts > > > index faefb7182af1..e4d66f7db09d 100644 > > > --- a/arch/arm64/boot/dts/freescale/imx8mm-evk.dts > > > +++ b/arch/arm64/boot/dts/freescale/imx8mm-evk.dts > > > @@ -80,6 +80,7 @@ > > > pinctrl-0 = <&pinctrl_fec1>; > > > phy-mode = "rgmii-id"; > > > phy-handle = <ðphy0>; > > > + phy-reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>; > > > > Where is the pinctrl done? > > https://elixir.bootlin.com/linux/v5.4-rc2/source/arch/arm64/boot/dts/freescale/imx8mm-evk.dts#L328 Thanks :) Reviewed-by: Marco Felsch Regards, Marco > Regards, > Peng. > > > > > Regards, > > Marco > > > > > fsl,magic-packet; > > > status = "okay"; > > > > > > -- > > > 2.16.4 > > > > > > > > > > > > > -- > > Pengutronix e.K. | > > | > > Industrial Linux Solutions | > > https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.p > > engutronix.de%2F&data=02%7C01%7Cpeng.fan%40nxp.com%7Cb40bb6 > > 4c5e39449ade4808d7560b43ca%7C686ea1d3bc2b4c6fa92cd99c5c301635% > > 7C0%7C0%7C637072478688921047&sdata=xZI60uyyQ%2BkX%2Fpf07n > > CgVhGt1ApYBKSnndGB3Dk2578%3D&reserved=0 | > > Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 > > | > > Amtsgericht Hildesheim, HRA 2686 | Fax: > > +49-5121-206917-5555 | > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |