Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1505459pxa; Sun, 23 Aug 2020 05:34:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxqWbiee6oQ0O8cI77BfKC/0fUEhreQRgEdcMEOA3mk+M3HQTAziRVTMtOz54t6Hen2BDSh X-Received: by 2002:aa7:c246:: with SMTP id y6mr1244009edo.78.1598186072165; Sun, 23 Aug 2020 05:34:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598186072; cv=none; d=google.com; s=arc-20160816; b=I2+tBwhAIVXxlRzrmTQWuNMfyuq/7oTyDNeQ8bgbb24HuVaU19Rwd7nfixxFqTkq37 mzts4mM1etXYdJGiM2JHLAQgrrVbzUVVR0lTkgloN+yiE3m8anC8MNCOav9B2RGpHzp4 DCmbLBEukZZq0zhbM6/GVes562ByMMbZbyKJbUgdjO5wYOYiI4RSuzMCsSlwvlEeufl6 LYUdsjumrZWhs/waqJ4fYL3xuUrNb2esCT4AjSMfhHtCkdQ/o+GWsdSSc2q1uDXlPtwl wevnyXbSyaq+t5xiuvbd+u3qg5oK2Q7Qg4O2IOAr9/lQrQrmjUo5uAvXZo8lVjNFOwZr kXzA== 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=a4baMKexPo0rzgV6vtZBBoxEujx1+MVKk6Jkl8ImQkQ=; b=pzuMSW45QZe3Zdw1OEsywMZiVd+3Ei9QuePlt2bjCgVm7YjLSN5m2wxRPIm8F/uJtB bJwXtpnEKESuLkknHrLNOsIZC3rWhYcMaSqsX325qyDZSAipsQ4nmgTbSIUpQvJ2iqPC p2n9ciBxQa1poQNd5Y9tqDq/4df+3VtAHtgwQHVFbhXKaMoIrx0OVucJWAQKt4WEpWKE zf8pQN8OCpZo6mmP2zVbiFxfK4VtJGdOPk6wo5oNjS8AGTsyyJUqytNWNWi53WN2GyT/ 1saEMUgZNCf+gk/eVotZyAkAqXYu+F+twRD/kz2MdaZJYGI3PpIb4MbfQpCW826Hy53y 9qLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=OgjZjO9Y; 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 o9si4848955edq.412.2020.08.23.05.34.09; Sun, 23 Aug 2020 05:34:32 -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=OgjZjO9Y; 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 S1727108AbgHWLPo (ORCPT + 99 others); Sun, 23 Aug 2020 07:15:44 -0400 Received: from mail.kernel.org ([198.145.29.99]:52922 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726991AbgHWLP3 (ORCPT ); Sun, 23 Aug 2020 07:15:29 -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 A045B20774; Sun, 23 Aug 2020 11:15:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598181328; bh=h08QRaaw1ypKOkPJ9otVWYimg697b3mMn5IOwkzYYuc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OgjZjO9YkNVgWWYlmIXPx5uzxwYtj0efm2RFwdrGI6lfPjt3Glf+msQO4PAV+S5Zs L9c7GRN1kITZlpvZQE800G4J7U4IMNgGtbCR+vsrUKyBfNcbRx37heUL0wxQuVjA+V i0AzmkQJHMDGm/vqNycrGcTxf5pYdJaRZzyzYcY0= 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 5/5] arm64: dts: imx8mq-thor96: Replace deprecated phy reset properties Date: Sun, 23 Aug 2020 13:15:08 +0200 Message-Id: <20200823111508.1165-5-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-thor96.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-thor96.dts b/arch/arm64/boot/dts/freescale/imx8mq-thor96.dts index b4795a032fa2..5d5aa6537225 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-thor96.dts +++ b/arch/arm64/boot/dts/freescale/imx8mq-thor96.dts @@ -122,7 +122,6 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_fec1>; phy-mode = "rgmii-id"; - phy-reset-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; phy-handle = <ðphy>; fsl,magic-packet; status = "okay"; @@ -134,6 +133,7 @@ ethphy: ethernet-phy@3 { compatible = "ethernet-phy-ieee802.3-c22"; reg = <3>; + reset-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; }; }; }; -- 2.17.1