From patchwork Tue Mar 14 18:06:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?TWljaGFsIFZva8OhxI0=?= X-Patchwork-Id: 13174880 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 526E5C05027 for ; Tue, 14 Mar 2023 18:08:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=EEfDmBUQrIvuC7+Sw+ieEgzU0mJnx7rf18CPabYU1Bo=; b=14dopr7C8zZNk7 HuhrXU4c7MIv+ZW/iZWjBf2251YNmM1GgyccHRceunOP7ZyE+DwNBkTDiLpgkFeEZcKULg0th5i20 qVQg1KmQY/wZOIJKez9dTXQhxejSUVj4aNDANy6bWqZ90lQIuYarkVop2HUUrBWKBeNU29EV6zXMi 9Jh+GN72d9UUAexCZUcllrHgt7RAueix9rYIBBKK7ZDL80jNAUmBmHoJ2rJQC8HDzE4yTvdPQ0b+L QQAnEXsLwqKzOaUEMzrpfA02rASL3Bge07v4Q+21EK766UDWE3LXCBtkKQr/zRZ9kXOU/jpsSk2+i uqD6UNLaPA80HSUSnDzg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pc92y-00B6vW-0T; Tue, 14 Mar 2023 18:06:52 +0000 Received: from uho.ysoft.cz ([81.19.3.130]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pc92q-00B6qu-2i for linux-arm-kernel@lists.infradead.org; Tue, 14 Mar 2023 18:06:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ysoft.com; s=20160406-ysoft-com; t=1678817197; bh=+qx5p0cflxM7B3mowtpsT/d0u/dt2VanOfc0Y1OZzr8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XQaBQ4n9B+o3ja2+G369flGLabXlny4ahsExGzRg5BBb4a62y8MwdKfqe3wGcRQTe JjIDZK9Vr36TiL9tFsEHQhJmXPflbUDMtRqK3Txtmas1RtUGGgVWNlN1sgV+h4+2pL 4h6lxhoXq628JXRWuqo3en+6BstBuS9m3hAUDS0c= Received: from vokac-Latitude-7410.ysoft.local (unknown [10.0.30.161]) by uho.ysoft.cz (Postfix) with ESMTP id E404EA0454; Tue, 14 Mar 2023 19:06:36 +0100 (CET) From: =?utf-8?b?TWljaGFsIFZva8OhxI0=?= To: Shawn Guo Cc: Rob Herring , Krzysztof Kozlowski , Arnd Bergmann , Olof Johansson , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, =?utf-8?b?TWljaGFsIFZva8OhxI0=?= Subject: [PATCH v2 1/5] ARM: dts: imx6dl-yapp4: Move phy reset into switch node Date: Tue, 14 Mar 2023 19:06:04 +0100 Message-Id: <20230314180608.44482-2-michal.vokac@ysoft.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230314180608.44482-1-michal.vokac@ysoft.com> References: <20230314180608.44482-1-michal.vokac@ysoft.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230314_110645_126832_9833A96C X-CRM114-Status: UNSURE ( 9.59 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Drop the phy-reset-duration and phy-reset-gpios deprecated properties and move reset-gpios under the switch node. Signed-off-by: Michal Vokáč --- Changes in v2: - new patch arch/arm/boot/dts/imx6dl-yapp4-common.dtsi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi index aacbf317feea..cb1972f8e8d2 100644 --- a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi +++ b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi @@ -106,8 +106,6 @@ &fec { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_enet>; phy-mode = "rgmii-id"; - phy-reset-gpios = <&gpio1 25 GPIO_ACTIVE_LOW>; - phy-reset-duration = <20>; phy-supply = <&sw2_reg>; status = "okay"; @@ -131,6 +129,7 @@ phy_port3: phy@2 { switch@10 { compatible = "qca,qca8334"; reg = <10>; + reset-gpios = <&gpio1 25 GPIO_ACTIVE_LOW>; switch_ports: ports { #address-cells = <1>;