Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp202189ybx; Thu, 31 Oct 2019 18:43:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqxnK/G2sANyUg5s0oRV5pyhbcpGnzHn400JVD+7NI3fKd8Qn7S/U8y3hCs9Gs3n5P8nZPa5 X-Received: by 2002:aa7:d582:: with SMTP id r2mr10102655edq.193.1572572600377; Thu, 31 Oct 2019 18:43:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1572572600; cv=pass; d=google.com; s=arc-20160816; b=YSgxso09ivYJWOPnnQDrAacIOrf9nSgEsAJaBsZv2ayZOmWPD36cXXYVmsqMT6yZkC dAll0NUZaSfYJUMgWFhrdjqTT0athp5lY7FObp5RI6ocRAdgXZypm0mEyKluvTM+QyyG xEzq/+U1rTv7VXhYHj4yad/ynFyFAiAyyypjkSrJDUw9/hg0XTE3J9J9yjgs75qpnBc8 DBPS8EEH2RFxpLVUkpQRFveO1fC6xyrKYd0q0S95nEcHD5SEI6i3/l2o2rF42MdqR/q+ PD7By5N+BhEVM1XeGBZNgW2QMqU3bFNAZmBg9XeHSmKlpyQXrXBa81tjHz0SpNFuruck eZjQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=3/QMYuCC/1N4dp1tGM+9XYnDee+YSkSoOub9mjAUhUM=; b=cdMR1PqTHvGIt8EITKiVUFq8Fkdg+dc7KKpHcYojuO+MyoPbAS1jsmpyc4R6eW3wwK s+nr7Bq2WKgCnEeQUoDrZULwOl3h0Ao5UdnWIiAxq2p8igu8MPc63uczHyUB8f92+2s/ UZPiYLkZckMze2q23OlQK8aoB2v0UWwFdXefPwRKLyBzEwngRfMRDfPN4ZxPNDL9w3WL nx6bz4QaEXcJ1ZLxecwhf83Ib1pf+/flsoL3xCpBldjZOc4FzoCIs4kdW9Y6fYvd6vcV LiKYYrVjVQz+SE2qMkllOuRrGeLUsVeLihvTn230IuKchYhTeETG+5teeQj6YIq2QoCN ZNBg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=lJmFCSoO; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y40si5200389edd.383.2019.10.31.18.42.57; Thu, 31 Oct 2019 18:43:20 -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; dkim=pass header.i=@nxp.com header.s=selector2 header.b=lJmFCSoO; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729153AbfKABU1 (ORCPT + 99 others); Thu, 31 Oct 2019 21:20:27 -0400 Received: from mail-eopbgr00048.outbound.protection.outlook.com ([40.107.0.48]:39879 "EHLO EUR02-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726540AbfKABU1 (ORCPT ); Thu, 31 Oct 2019 21:20:27 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZR8ZgvhD3TKJi81/CiDKUAzso2pSbe0DQIDsyeCsKH8IYVYU/+me97Jb+X878wpl2WgS20SS8LKRr7Q7kNIwPd43mIhzZ3guqvgUubLNCp+KNji1KlVzZgih7mMv/XeFFn0r7ZpUzHR9emLPiqiEXfB6s3E20SPy7HmULNxt2uXH4bJ8t6vmKGIipIPYyx4gyvEYLlxYKKhdHMb6lWFjlM5M8Cu9Wfsf3ZmYFM3GTjKZQBKI+iLNn8vU5vCqV8qoKYfUxILBNUm0GAw5kLumwKC75X2+/YJtpl12uGfLsnm+CU23PINbSgEEj/oF/VwIh9Mp5N6HQJ7TVMt/TqPbLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3/QMYuCC/1N4dp1tGM+9XYnDee+YSkSoOub9mjAUhUM=; b=oEKB5Jj4QIrPuC0v3OordrLXZNl8vDfb7937p8juZA1O5UH0BiN1RNJbTPsDwRzIlK4jxadL6ew2qHppqob90jZRwNeoSTHjwinulUKsHCOPQtEsz7h60JioGUxzdyVmvRFti8LXAh5yYX5jPkVEDTf/yW8ZDD6dtRttke1+On1Qq9VtEHFJxjKhcd1NWFn1aoFny4Ia2MiKTOQFuQmBFf/luycKXFNNU0nQ3Q+WrNxcDajMqg4IHU2Yz06LGwqi/hVN/XOAPiFq1mAUFAQ52Vq9mXodnZpBDC9rDi9iUnSZRPKMMwa11EVWPUj7FGN5cHBXD4lHQqH1kl+FglU/VQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3/QMYuCC/1N4dp1tGM+9XYnDee+YSkSoOub9mjAUhUM=; b=lJmFCSoOPF88nA2zYZjWrYnjc1IEzftecymf9iNgYzu8xnhh7z9dAumHSrd4udASArNobO71d/j+v9vLkeENFlFXOmCmzPOYMTUdsQDkpKqW1ojgYYyoHQ6cUbS6nxBwQ2NF/qViORK+PONHRtDwj9az3xvwKwN12FyIe7mJICE= Received: from AM0PR04MB4481.eurprd04.prod.outlook.com (52.135.147.15) by AM0PR04MB6148.eurprd04.prod.outlook.com (20.179.33.208) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2387.24; Fri, 1 Nov 2019 01:20:22 +0000 Received: from AM0PR04MB4481.eurprd04.prod.outlook.com ([fe80::843c:e722:27cb:74e1]) by AM0PR04MB4481.eurprd04.prod.outlook.com ([fe80::843c:e722:27cb:74e1%5]) with mapi id 15.20.2387.028; Fri, 1 Nov 2019 01:20:22 +0000 From: Peng Fan To: Leonard Crestez , "shawnguo@kernel.org" CC: "robh+dt@kernel.org" , "mark.rutland@arm.com" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "festevam@gmail.com" , dl-linux-imx , Anson Huang , Daniel Baluta , Jacky Bai , Jun Li , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Andy Duan Subject: RE: [PATCH V2 1/2] arm64: dts: imx8mm-evk: add phy-reset-gpios for fec1 Thread-Topic: [PATCH V2 1/2] arm64: dts: imx8mm-evk: add phy-reset-gpios for fec1 Thread-Index: AQHVh/j+k1XoWkwF8kWzRGGsNvXoFad1lK+Q Date: Fri, 1 Nov 2019 01:20:22 +0000 Message-ID: References: <1571652977-4754-1-git-send-email-peng.fan@nxp.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=peng.fan@nxp.com; x-originating-ip: [119.31.174.71] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 63dc22d6-544f-4045-3fc8-08d75e69aaa3 x-ms-traffictypediagnostic: AM0PR04MB6148:|AM0PR04MB6148: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-forefront-prvs: 020877E0CB x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(136003)(366004)(376002)(346002)(396003)(39860400002)(199004)(189003)(3846002)(14454004)(8936002)(81166006)(229853002)(8676002)(476003)(81156014)(7696005)(478600001)(102836004)(86362001)(55016002)(66066001)(6116002)(26005)(6246003)(99286004)(186003)(52536014)(2501003)(66946007)(66476007)(76176011)(5660300002)(76116006)(305945005)(33656002)(316002)(66446008)(66556008)(74316002)(6436002)(256004)(7736002)(64756008)(53546011)(2906002)(486006)(44832011)(71190400001)(11346002)(446003)(9686003)(110136005)(6506007)(54906003)(25786009)(4326008)(71200400001)(32563001);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR04MB6148;H:AM0PR04MB4481.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: BkPUoFV1NEeZUQrIjNYUec2MjYkksfa4gAWni+q9fh6PybWVfWyT782qO6b5yXTfZ5rauLJF4WM95Kz4eKw+0TOg9czYUlsTntiwIpQarIUWFmjKrKy4fjY+Bgr2hC5tP3TBaH+5hjHWAOaq0IvE2PWUxDlT6cHRwy5Yy3h27mSOIZZ0QAGuMgWS6oNxUiqkkoYnAbDayinT2Eb454rVjbvItACoXTha8kIEAyrO/5ZwGtc51iPVZypO7jIGKm0qZI36Ms6n7GFMJTsaTe0XbwbCSQeotRtyOG97tyZT4o42wynevQRJ9NsVKVmDuIG7VqTxf6Fh1ym/R1tcPFLczPFtEP/3JuoW16TDg5I+34qaDIG7Ly08K4sL7bKkTxsCPPFjWxSJUEiMTC5mPlYEHROxqVzSRRfTZYXmaH/1B6KyTXCNDBhLpDt11ux02Nd2 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 63dc22d6-544f-4045-3fc8-08d75e69aaa3 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Nov 2019 01:20:22.2087 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: zbYErQWXZQpIjuK/pboxE6EFavLN5Nf9BlnXetQb7fg3TahKlKpdjtEUydal7dy8jmx2CB+zgctnrGRAvnLgXw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB6148 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Subject: Re: [PATCH V2 1/2] arm64: dts: imx8mm-evk: add phy-reset-gpios f= or > fec1 >=20 > On 21.10.2019 13:19, Peng Fan wrote: > > From: Peng Fan > > > > We should not rely on bootloader to configure the phy reset. > > So introduce phy-reset-gpios property to let Linux handle phy reset > > itself. > > > > Signed-off-by: Peng Fan > > Reviewed-by: Marco Felsch >=20 > This broke NFS boot for me in next-20191031: board now hangs on DHCP. >=20 Sorry for this. I not use sdcard when I did the test. > It can be fixed by reverting this DT patch or by setting CONFIG_AT803X_PH= Y > to y instead of m. I prefer setting CONFIG_AT803X_PHY. Thanks, Peng. >=20 > Needing a phy module is not a bug but everybody will need to either > adjust .config or build modules into an initramfs somehow. >=20 > > --- > > > > V2: > > U-Boot->bootloader > > Add R-b tag > > > > 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 =3D <&pinctrl_fec1>; > > phy-mode =3D "rgmii-id"; > > phy-handle =3D <ðphy0>; > > + phy-reset-gpios =3D <&gpio4 22 GPIO_ACTIVE_LOW>; > > fsl,magic-packet; > > status =3D "okay";