Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1473124pxa; Sun, 23 Aug 2020 04:19:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyAKIVZGQFJyvWlpfLaYDW8CDLnlSSkDnTGggb3H8ipa+RrfgQ+k1NkKyOpkAIW2hGn0v9G X-Received: by 2002:a05:6402:7d5:: with SMTP id u21mr961889edy.235.1598181567140; Sun, 23 Aug 2020 04:19:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598181567; cv=none; d=google.com; s=arc-20160816; b=GvB2EqNp3iyFSb0EWv9PrWFBQOkojFcbhLQQpw04nc4zn9qdRL+E2HLrSymbATNgkM uUC29PRMneV879lpZhe2jF1/Tgxf9/qSKU7xnjqqSbRqLEUfX5nXJ7Qrjx9SytQJihPv q+5eM8Cz9Fqt83PlK7uVvTmj3L9OIOldP3lYIKv2cfuBij652mvqZbNLMSGe3+spAxYv DYol02AdwnJaI1jtkhk6Xy5AC2opC+WzteIkz2SEaSyqxb2HPgmGcuHeIwiPTmNp2RAA XYEdbiN4GtWEIHCtkDkNS3SCDGskvHPVoeNGb8E2AJo9AZbiqy7x6xNwWrc/utbMagYD 9jug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=CtuD6zisxNmbt2mIj97Vg9vhVDGT2PWTmYEYPJY08HI=; b=bkjPE4nObq1MdpECk5GyhoRDuuSaInMqIGKDQYtsAgbHPsD+JxldrlYOT1+z0UI5Fp 71wVoR3lgkXAEmkgvaf+vkiMTC/Vjqa/wnpUGDTl/Mryykmb5iUDeeZO3SqFejRAlCxk GcObjmOENrafPDdV2d7tqiBaR3nVUiWeNSb1TYKo5MuI553f4ylPyR50HsrYS41SoVTJ pXuQW9qcyfKhdoAoQs3FPQOVrYq4F+SzO2/NFkuxDqYUZktc9+Trk+lzmxtf7f1bltAw TfzwBeJGWkSvyBO6rUbPez8Yg/uzwdGZPxSbQy/gAjL6SDQPMsArghlnirTHoSITpZrN 5LLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Vqy5UnHu; 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 p22si4957564eds.169.2020.08.23.04.19.03; Sun, 23 Aug 2020 04:19:27 -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=Vqy5UnHu; 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 S1726988AbgHWLPU (ORCPT + 99 others); Sun, 23 Aug 2020 07:15:20 -0400 Received: from mail.kernel.org ([198.145.29.99]:52694 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726371AbgHWLPS (ORCPT ); Sun, 23 Aug 2020 07:15:18 -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 C55C92074D; Sun, 23 Aug 2020 11:15:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598181318; bh=nBRSChcP1vaZwzxZFMFZYHjipXWONtsRrLat8s6I/KQ=; h=From:To:Cc:Subject:Date:From; b=Vqy5UnHutEHs1Ynb6pNsCNmtC0NJGN10nPEi1DYS8xd4a0RPpXaehw5UyVI1DDLRi bE89pcA2y7ehFaYonhZ7wBjPrmwasDm6X7DncLDsGy0R+gCQKTZ8O6zk85JdtPOGEo gWMLjJlBvbcqhhLHNHHymS/3vadg7QEIrNDGX2K8= 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 1/5] arm64: dts: imx8mm-evk: Replace deprecated phy reset properties Date: Sun, 23 Aug 2020 13:15:04 +0200 Message-Id: <20200823111508.1165-1-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 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/imx8mm-evk.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-evk.dts b/arch/arm64/boot/dts/freescale/imx8mm-evk.dts index 19a22d0d0730..c1f7d44651df 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mm-evk.dts @@ -119,8 +119,6 @@ pinctrl-0 = <&pinctrl_fec1>; phy-mode = "rgmii-id"; phy-handle = <ðphy0>; - phy-reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>; - phy-reset-duration = <10>; fsl,magic-packet; status = "okay"; @@ -131,6 +129,8 @@ ethphy0: ethernet-phy@0 { compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; + reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>; + reset-assert-us = <10000>; }; }; }; -- 2.17.1