From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2ED8DC433E4 for ; Sun, 23 Aug 2020 11:15:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0CD6620768 for ; Sun, 23 Aug 2020 11:15:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598181338; bh=/s6rlS3ucQ3ewRxqmyT9G1nLBvNtwJqGfOnCMXRZBuM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=k/+EMJTq/bGa81iczkrSFDomZLZ0ig4d0ootkH9pSHXY8cjQzR1Lq4TqtFfd/N8ap PaB6AeL3MoCJflXWQogPBhy0iFgVRZTEh3eKtTV3nSR+eMaG13Hr31xJEyjRnMW2uG Oizmpd02JSWMG0ThYOVsDdSUdaMPR81XogoTBaMw= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727068AbgHWLPg (ORCPT ); Sun, 23 Aug 2020 07:15:36 -0400 Received: from mail.kernel.org ([198.145.29.99]:52852 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727014AbgHWLPX (ORCPT ); Sun, 23 Aug 2020 07:15:23 -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 73B17207BB; Sun, 23 Aug 2020 11:15:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598181323; bh=/s6rlS3ucQ3ewRxqmyT9G1nLBvNtwJqGfOnCMXRZBuM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RU5YtbIZHeY1kpZRXH37e7ax8uejtwtvccHXJrv1sBqUebenoxx85jwYom2soE5aB FKyaPPG73h9wTYWSp6ak9Rq5X5CbaCYsnfZntvCAedv/Stz1jpNlTH1YJfmnpv74wV +dSDfxJsB1lGGSO1SEogFp90sSIfZVs7beOoI2oY= 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 3/5] arm64: dts: imx8mq-phanbell: Replace deprecated phy reset properties Date: Sun, 23 Aug 2020 13:15:06 +0200 Message-Id: <20200823111508.1165-3-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-phanbell.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-phanbell.dts b/arch/arm64/boot/dts/freescale/imx8mq-phanbell.dts index 77ab568fae67..3f541ddf0768 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-phanbell.dts +++ b/arch/arm64/boot/dts/freescale/imx8mq-phanbell.dts @@ -262,9 +262,6 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_fec1>; phy-mode = "rgmii-id"; - phy-reset-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; - phy-reset-duration = <10>; - phy-reset-post-delay = <50>; phy-handle = <ðphy0>; fsl,magic-packet; status = "okay"; @@ -275,6 +272,9 @@ ethphy0: ethernet-phy@0 { compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; + reset-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; + reset-assert-us = <10000>; + reset-deassert-us = <50000>; }; }; }; -- 2.17.1 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 48F16C433E1 for ; Sun, 23 Aug 2020 11:16:52 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 14AC32074D for ; Sun, 23 Aug 2020 11:16:52 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ZoymDz+x"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="RU5YtbIZ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 14AC32074D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:References:In-Reply-To:Message-Id:Date:Subject:To: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=jnik7JGjD2QhGQ5vyuFg0yvSrtUXlgZm98M6WyRR1nM=; b=ZoymDz+xyAYBdTVyhlFTJO5QMh CUEcoQNjtwucIWt4VM46LMVH7AAqVYMo2p/OxotE3jytzXJTTdYSAD+bJYJ0jHy/uFGaL3iu70Mse YDAgj599U1BMF0CgK262MuLYctfi58ALXiwO2KPZkPSKxPTBuBi5eV8FREu0OKsNnKt1aU61RqYQH pKd1+XcTPsBBJGBhyI26LIFFr6L5Ov0sg3Bu/iICpMb1DmazS8z3um9YVkOtISU8VtBye23dBnz2n BV/zO+C/7in8ekjSZtJTJMhND/Nckp6JmriKWtvdq/MeLz3mpbIJ0VpVsPte1VE/w5ONEOl4lNE+q 4onHHAIA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1k9nyD-00081O-WF; Sun, 23 Aug 2020 11:15:30 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1k9ny8-000805-6Z for linux-arm-kernel@lists.infradead.org; Sun, 23 Aug 2020 11:15:25 +0000 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 73B17207BB; Sun, 23 Aug 2020 11:15:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598181323; bh=/s6rlS3ucQ3ewRxqmyT9G1nLBvNtwJqGfOnCMXRZBuM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RU5YtbIZHeY1kpZRXH37e7ax8uejtwtvccHXJrv1sBqUebenoxx85jwYom2soE5aB FKyaPPG73h9wTYWSp6ak9Rq5X5CbaCYsnfZntvCAedv/Stz1jpNlTH1YJfmnpv74wV +dSDfxJsB1lGGSO1SEogFp90sSIfZVs7beOoI2oY= 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 Subject: [PATCH 3/5] arm64: dts: imx8mq-phanbell: Replace deprecated phy reset properties Date: Sun, 23 Aug 2020 13:15:06 +0200 Message-Id: <20200823111508.1165-3-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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200823_071524_375042_5F0D04F5 X-CRM114-Status: GOOD ( 12.85 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Krzysztof Kozlowski MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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-phanbell.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-phanbell.dts b/arch/arm64/boot/dts/freescale/imx8mq-phanbell.dts index 77ab568fae67..3f541ddf0768 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-phanbell.dts +++ b/arch/arm64/boot/dts/freescale/imx8mq-phanbell.dts @@ -262,9 +262,6 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_fec1>; phy-mode = "rgmii-id"; - phy-reset-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; - phy-reset-duration = <10>; - phy-reset-post-delay = <50>; phy-handle = <ðphy0>; fsl,magic-packet; status = "okay"; @@ -275,6 +272,9 @@ ethphy0: ethernet-phy@0 { compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; + reset-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; + reset-assert-us = <10000>; + reset-deassert-us = <50000>; }; }; }; -- 2.17.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel