Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4038301ybg; Mon, 21 Oct 2019 02:47:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqw6bR0aGoRCXfTB/SYrACUdizgXt3WtpWULlnwxA7rBoghtsVvcp80bicIEA02wV/TZ07Bz X-Received: by 2002:a17:906:edd7:: with SMTP id sb23mr5257754ejb.168.1571651230899; Mon, 21 Oct 2019 02:47:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1571651230; cv=pass; d=google.com; s=arc-20160816; b=1FF2B0X507wld2/xMvhqKchI+o9g3pMscIgfgcHzYA05BfiLsnMqjy2aydK9bh23RS HKKd8TR3Y1+3w/EjTVUTf/CFQzStcLJHDaH9vuuVSikZw6MIZwqicrfOT1sOYq5tJuN4 FQaqb2nyrGVX1I3OS6dY06SoIYouSpQIEAmWbMGC9jk95hy1PxGwzRX3pnhyuTLhucf0 2HFtJsl5vIVCBSRc6MWqxy5lZSwAyzplEF1GH6wzYyOUWjjDXyyAh6fWpZtIrrKurgCd Jkuu7kAqb5xSaVYHvwn96/RWqpjHkietCX2qFcj78unESdjEZikZbYJ4YHSIuInGAaK5 H1Xw== 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=S1qd6vposj/8oi480fFU2VqPFpyV8WM6Z8sl4PEVAaU=; b=q9bLe5f//tSAZpZAIJPy6fuwW/ZIyUlE4LCCB56gNMFXR/o1sdZ6759bIQb+H89to4 MuF5mTk1ZSKpdBVV1NyowlsqmQJxy5oTSxbUbNquTOxEPANH/CVF53NUxSod0DhXaiCE g4+ZeMtG2kMeWuRZUbnVowo5kCZOQFlsLdCkjVrpF69OxP0lGlFB4l642/sTGc54CCew 2EvETixyQ2y3uuk0cD4JAw9JdD7spxC8Z930KK9L6AaZddVZwugTVs9yIYq3pRLISZkT K1dnwTwqH+w7/jWDScK0wRGWJ2uBRTn4GBGOFxuBtFpT4bxdqPvCciPpHq/kYzfS8Vsy zmsg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=nTDJLKpB; 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 m90si4458452ede.52.2019.10.21.02.46.47; Mon, 21 Oct 2019 02:47: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; dkim=pass header.i=@nxp.com header.s=selector2 header.b=nTDJLKpB; 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 S1727847AbfJUJqP (ORCPT + 99 others); Mon, 21 Oct 2019 05:46:15 -0400 Received: from mail-eopbgr60061.outbound.protection.outlook.com ([40.107.6.61]:36928 "EHLO EUR04-DB3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726725AbfJUJqO (ORCPT ); Mon, 21 Oct 2019 05:46:14 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=I2BCTOevcFAQnysL2F0XaNP9NLdxmngZeSer+PfChys81jZEKCTdaLYmQ6GL5tTgr4ItVh00biJAFYmuNVbN9HTuXB6lIUlev67oekOjDYTDZlzBRO6tenJqc2DlnHX0J24krczjENYvwlIj9z8zbmtQsN83RH+lHFHUCriM8pZNV74j6DigQEChUmx/QZAJdCGdl6uyHNL/My+exRLEYC/ut4zNsp1ZmTA4BLCIxHxhaD2hJVMGwYaGanW1D8jfJr36G3xSzy/U+J96bBlM4jBB3o8USONrG3LnwldecRQdqUuRpzUfdGnfF8EpKG9J2TEHFfQY3lTgOEYP/AjpFQ== 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=S1qd6vposj/8oi480fFU2VqPFpyV8WM6Z8sl4PEVAaU=; b=ERC7N++r7FWE841ra+rVmur2MpB6D2g2OyZe/By2byq1+urZLIKPPjAhEYbFkVgnS92TLTLAr1IokI8t35n56CCjWz5/4sMOEce7178Oy2CwQHYLY2gGcQ0Q9ibl15OiAW2DppZGGPbop1cST8uwfbOTjkiYDOupkswowjFQ8ujFJzCS9GYUXmJiJW8B0zv8AEY5TyqD8RlEQ42/iwnZ2OMnMycOEnHJpionHegfLkUK2vRVlBevBFrQi6Gw4JHk+MVQbL6I+9B52YES7FQ43lxtiglW84/j4/Mdb7NrxS6Z7fbZ3z/HuEzH9dPGwCYB95ImnbmsNINma1sm8Woc/w== 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=S1qd6vposj/8oi480fFU2VqPFpyV8WM6Z8sl4PEVAaU=; b=nTDJLKpBciS0hnRh1A6/yItt8Mx3uwKUL+Ys5+2uQTNL4QgNXQTKI811qdPRVgpkgd38yakhUUmPaXxtu9z5e9Xlih+xnGo9YZb1nc4JGpro1hKULBT9qwE/IGJsOCzsWiWph380m/yJIbbaR81bxBn7sZ9+HEiZ1yWQn87IMAk= Received: from AM0PR04MB4481.eurprd04.prod.outlook.com (52.135.147.15) by AM0PR04MB4612.eurprd04.prod.outlook.com (52.135.146.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2347.16; Mon, 21 Oct 2019 09:46:11 +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.2347.028; Mon, 21 Oct 2019 09:46:11 +0000 From: Peng Fan To: Marco Felsch 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 Thread-Topic: [PATCH 1/2] arm64: dts: imx8mm-evk: add phy-reset-gpios for fec1 Thread-Index: AQHVh/DvpHNuw1YCQUS80eeiIyy4HKdk2FcAgAAAb0A= Date: Mon, 21 Oct 2019 09:46:10 +0000 Message-ID: References: <1571649512-24041-1-git-send-email-peng.fan@nxp.com> <20191021094420.wmy5w2tp532dibqm@pengutronix.de> In-Reply-To: <20191021094420.wmy5w2tp532dibqm@pengutronix.de> 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-correlation-id: 08ad44a4-615c-42ad-53f9-08d7560b8156 x-ms-office365-filtering-ht: Tenant x-ms-traffictypediagnostic: AM0PR04MB4612:|AM0PR04MB4612: x-ms-exchange-purlcount: 2 x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2512; x-forefront-prvs: 0197AFBD92 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(136003)(346002)(366004)(376002)(396003)(39860400002)(199004)(189003)(74316002)(52536014)(3846002)(229853002)(86362001)(6116002)(81156014)(102836004)(6436002)(6916009)(2906002)(8676002)(71190400001)(71200400001)(14454004)(81166006)(4326008)(6246003)(5660300002)(99286004)(486006)(478600001)(305945005)(44832011)(186003)(966005)(66446008)(316002)(66946007)(7416002)(64756008)(66556008)(66476007)(33656002)(9686003)(7736002)(6306002)(54906003)(25786009)(8936002)(45080400002)(76176011)(66066001)(11346002)(476003)(446003)(256004)(55016002)(7696005)(76116006)(26005)(6506007)(53546011)(32563001);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR04MB4612;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: P7/Llm1JHMvAM9MNHaCvuKyPLSxDryL5JKdiegf2j5voUqwTovGDJMCuhiJeSwBv9R6F0KMUlMTOhAZJg95MtpiJG5n141YbSSvy4wjx6AZfTivYN/qmEli6Gi+5NBJ031wkjLmXeZzitUx6Yf7cdS82lAWxRkdPWr/7Ej2DKHjptI6ljxqcE75T37i8PWiHDqKYK3aacGkx96q/x4p0yDAik3NNSP1KxiSHycHS8Tk39X/saoNog/n51AVc73DsSxJusUR8cTaiY9uxSLg0EfUwPwM+gUVKuztBF/FpG6WVCX6BCNzvhEdrUD7YGCxTYnCVrbmMZ75qxP+3iFUbw+2XIAexR/H/qL7P8CYrFAPLaEeQM0Cw8VqTKuF39TwFnZLbAk5pVdW0mN3ZtSeKpYXcdcwU3gNLaiVePl6GtWigrvY9chWh+htYTAn1hxpkWJ+k6XjB4pXlNMtwUyj3FA== 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: 08ad44a4-615c-42ad-53f9-08d7560b8156 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Oct 2019 09:46:10.9702 (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: XMdnxD4KWgsBByXxc38AQLGbCAO4HoWwN2OCgp6RPUF638rETexCTUQCcHoI4PsRl26HOPEryCKp9/6/rBpmew== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB4612 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Subject: Re: [PATCH 1/2] arm64: dts: imx8mm-evk: add phy-reset-gpios for > fec1 >=20 > Hi, >=20 > On 19-10-21 09:21, Peng Fan wrote: > > From: Peng Fan > > > > We should not rely on U-Boot to configure the phy reset. > > 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 =3D <&pinctrl_fec1>; > > phy-mode =3D "rgmii-id"; > > phy-handle =3D <ðphy0>; > > + phy-reset-gpios =3D <&gpio4 22 GPIO_ACTIVE_LOW>; >=20 > Where is the pinctrl done? https://elixir.bootlin.com/linux/v5.4-rc2/source/arch/arm64/boot/dts/freesc= ale/imx8mm-evk.dts#L328 Regards, Peng. >=20 > Regards, > Marco >=20 > > fsl,magic-packet; > > status =3D "okay"; > > > > -- > > 2.16.4 > > > > > > >=20 > -- > Pengutronix e.K. | > | > Industrial Linux Solutions | > https://eur01.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F%2Fwww.p > engutronix.de%2F&data=3D02%7C01%7Cpeng.fan%40nxp.com%7Cb40bb6 > 4c5e39449ade4808d7560b43ca%7C686ea1d3bc2b4c6fa92cd99c5c301635% > 7C0%7C0%7C637072478688921047&sdata=3DxZI60uyyQ%2BkX%2Fpf07n > CgVhGt1ApYBKSnndGB3Dk2578%3D&reserved=3D0 | > Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 > | > Amtsgericht Hildesheim, HRA 2686 | Fax: > +49-5121-206917-5555 |