Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1474089pxa; Sun, 23 Aug 2020 04:21:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwY2ykkbRgpqzP5w2wYPDQna3drcZhil7Mjg1wCNqY+sPlx4/AER7bqRx7vwjiTBBCHMsF+ X-Received: by 2002:aa7:da9a:: with SMTP id q26mr996826eds.163.1598181707200; Sun, 23 Aug 2020 04:21:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598181707; cv=none; d=google.com; s=arc-20160816; b=AwPuLQrfmLlfVgOG1e6ziZCtp0K2fH+u8YGPbqvJfeOkXIjJit1twbcKB1uTS3oPi9 s0NtflAoWitEElL+C37f2YA0u9DtLsdVMJL0LRCAg1gK3WPKFxChNggYCpsTBhumGJhz LPmusVKVbpo6l1huj8nRs164Cu+IEx3zUcjgaIhlCeC9F/laidp4YfFzpnPsLbgvhmtd kKSgu7T0FHGIZ2CFnDSOBcBZxbHiBjP6UXTjYpAk5cPbJEMW2YIijoJYpdXQCiXeqFSz NmNfbfCXiJS63Zwm9aKV9vEN9kPsaME3LDZTwQCiLCUT6ZLxXNkRoX/P5pxGQiC6MLta zrdA== 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=lP8zlR3aO6tJqNmJxwaNpmeWMyYYJ+c2S3xsvABmft0=; b=pOIzPsqTt1jWuPBEWfos61V2rAqvtCVntzGMGNdpup7kGOT5VbGLJy2B/TbxaDQFtl zUpPwc2HpSbsSkpltKmsgpcE0I9zH40bHz7sZs9UuaA0aC5oyKRxO6fAaCK0t+xJ+NkG lNx6g+OrtV+LTu3aa1e7HyBnwHC5yLF44v4PffM11s6Vmw5LwQarROGoFDu8imWh/0XT ea3BReAY+cqTCZNbpJYreYvsKGk2AH7PiKGkwzYNaRSxwv53z/k0Y4mjXCPVd02bgRZ0 /K5s1lRgJbDpmQQbdLjAPh/buzsCmEDEj+BsFYMZlBxEsyDxKZg67OzrZwkxQpGW0FpD T5cQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=EVOzWhOo; 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 l18si603950ejx.481.2020.08.23.04.21.23; Sun, 23 Aug 2020 04:21:47 -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=EVOzWhOo; 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 S1727079AbgHWLPh (ORCPT + 99 others); Sun, 23 Aug 2020 07:15:37 -0400 Received: from mail.kernel.org ([198.145.29.99]:52886 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727021AbgHWLP0 (ORCPT ); Sun, 23 Aug 2020 07:15:26 -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 0FD6A2074D; Sun, 23 Aug 2020 11:15:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598181326; bh=v6DcEuq4TZ/6Ck4lnEqFninOLK9CeVIu8u9/wUwmwTk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EVOzWhOoEYW27guIbOh4XJ2k8xz7a/p5A8KY8s96qekfBy47GnMw05U6WzxPFFLT/ uLfZiE7jTPzZjfJzBl02uLrPcXyhtWP+mu3xqiRaDxZOX7icID2LmGJ4YpXfZgPU/5 EWuPPMGIUToUy1qTQo2UA14xWzvZHyjs8Pt9LCVg= 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 4/5] arm64: dts: imx8mq-sr-som: Replace deprecated phy reset properties Date: Sun, 23 Aug 2020 13:15:07 +0200 Message-Id: <20200823111508.1165-4-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-sr-som.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-sr-som.dtsi b/arch/arm64/boot/dts/freescale/imx8mq-sr-som.dtsi index 602c870a7ccb..404c46671b96 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-sr-som.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq-sr-som.dtsi @@ -20,8 +20,6 @@ pinctrl-0 = <&pinctrl_fec1>; phy-mode = "rgmii-id"; phy-handle = <ðphy0>; - phy-reset-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; - phy-reset-duration = <2>; fsl,magic-packet; status = "okay"; @@ -32,6 +30,8 @@ ethphy0: ethernet-phy@4 { compatible = "ethernet-phy-ieee802.3-c22"; reg = <4>; + reset-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; + reset-assert-us = <2000>; }; }; }; -- 2.17.1