Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1505196pxa; Sun, 23 Aug 2020 05:33:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwREfzlHrJs3CZq0e22ydSh7Hb9d8phhdaM/6+WFRRrUdFk0KALPWbHrl/BJdYcIWVLwJAB X-Received: by 2002:a17:906:aad7:: with SMTP id kt23mr1285690ejb.124.1598186032737; Sun, 23 Aug 2020 05:33:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598186032; cv=none; d=google.com; s=arc-20160816; b=vrzXVEel8ziUE2FNgtwxVgZpDoV0PmrmtNzVa/v8rsvkgWksNbLRqSTJ7fhsQuMjV4 1r4w3bQToKgk3lGNDVphGEzNDZxqEOvJNr7FLhDwa4z3BiyfAPedouk24k0LoPwDev1A R3TlN6ut6aOIeVzj1OM+RWTfWPGa7sUZL19zxQbV2QMNtdM/85sLXh42b93ftdiak/H0 Vo642dpwLL2jJ0vmOx22zTsOTKeqPvGczMLlxRxaEej/Lq+mzm7t7JhYtEF515mwgtEs mLRpNfAsQCMKPL9y77nwLHAcmtngBBl4NyWc4a169YCNLVsrRVOwFotr/+oFjCRmGKMU 8iDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=u1dU85CXextGm8IBdbkI2k/PG6ZsU0BsQFB9NNC6ECA=; b=XOpZP2Cwuj9HTpdx4IJxYw2s/D3x1Y8Zp34hbqrQSaZ2SAPpsZ3iRikrIwnmbpdmJ+ qgTXcJS70hIvseP4D9qsMnC5d53mWoRb/VTu/XullWNPMgXt/j1nzgoc5z5dFF21P9ex Lyo92E5oNY2/CWr1K+Qxa6A9fcl+yR34BNyhJoHm+k8I1viANICUnNP6gbf7S0+yV9uk uVXVfP17YczCEPxuCQ5Fdo0MdXN2XSoHji/2OK+FQoJrxG/bd6inEMiAAChMwExtDigU vak7uvED2C3FgAFk4QW1G/mAM4C4M3unLwYHRXjdvP5Lnsb/huFWE8pveV6O7xz+Lscg P4aw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=VCXoCA1f; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m23si5007687edq.564.2020.08.23.05.32.39; Sun, 23 Aug 2020 05:33:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=VCXoCA1f; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727012AbgHWLPW (ORCPT + 99 others); Sun, 23 Aug 2020 07:15:22 -0400 Received: from mail.kernel.org ([198.145.29.99]:52760 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726991AbgHWLPV (ORCPT ); Sun, 23 Aug 2020 07:15:21 -0400 Received: from kozik-lap.proceq-device.com (unknown [194.230.155.216]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7E33420825; Sun, 23 Aug 2020 11:15:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598181321; bh=50izIWaL0UlK8Z2wfbwIT09ELCQ3HOkZUDyiNLo5fbw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VCXoCA1fyvCO447HtTbq2mJdy9JAtHJBPyCV2RRX3lwvmubIxIgYdVhuuyjqJNHKZ EsLrOwO0SLdkwl1hVaebs3YuYgnko0zpDgVGxh2i3nuIJ6ZUTr88FnCJ3jVBe9sHWJ eZOVv3q+appKrmhDgprXLln30fcntbDgRdUT1n4A= From: Krzysztof Kozlowski To: Rob Herring , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 2/5] arm64: dts: imx8mq-evk: Replace deprecated phy reset properties Date: Sun, 23 Aug 2020 13:15:05 +0200 Message-Id: <20200823111508.1165-2-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200823111508.1165-1-krzk@kernel.org> References: <20200823111508.1165-1-krzk@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Use preferred properties of phy node instead of deprecated phy-reset-gpios (and others). This avoids copying deprecated code into future DTSes. Signed-off-by: Krzysztof Kozlowski --- Not tested on HW. --- arch/arm64/boot/dts/freescale/imx8mq-evk.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts b/arch/arm64/boot/dts/freescale/imx8mq-evk.dts index c9241abf0df3..8aa9cd8e495a 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mq-evk.dts @@ -137,8 +137,6 @@ pinctrl-0 = <&pinctrl_fec1>; phy-mode = "rgmii-id"; phy-handle = <ðphy0>; - phy-reset-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; - phy-reset-duration = <10>; fsl,magic-packet; status = "okay"; @@ -149,6 +147,8 @@ ethphy0: ethernet-phy@0 { compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; + reset-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; + reset-assert-us = <10000>; }; }; }; -- 2.17.1