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: 69752 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1910391wrd; Tue, 14 Mar 2023 11:14:14 -0700 (PDT) X-Google-Smtp-Source: AK7set8gq2NoR1Z6wqstUqtAVr0PvCU74yrMlQed3JgJdibSVOZW96BRg96nq+4+VBYog5mNb+/U X-Received: by 2002:a17:903:41c7:b0:1a0:566c:aaf8 with SMTP id u7-20020a17090341c700b001a0566caaf8mr6621798ple.27.1678817654003; Tue, 14 Mar 2023 11:14:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678817653; cv=none; d=google.com; s=arc-20160816; b=ymL70YeqzCL+pkRUngy8dAwnullLA2t1ttDYOVwEucXQMBYT9G0CBmLTIQZrqAfSbq bW1WdwANWrC2C6fPED86ak+XGI41hof6+KcPhSlhMoFrSfjBeWSE+yK91CGWfBdKtH81 7yI4aITGAVmmQGMoWP67Ri8h4ZWaSx4xOzPbA+9hR0HkfggTnL3H4+0zy3QFfVDnmVQX 8k3T5EgN8SaW0eWqZ6iDbuMantJXvj45AUU0OVIM4QnWr3mTlZUUhqg/t7WBYfjfJ42X dTT6lT058esC4FlDZUUcSQt+QHBJQNGt8+MSwJhC5GBoWnEFHRW1RQid0pLeluZ9dD1t BYDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=+qx5p0cflxM7B3mowtpsT/d0u/dt2VanOfc0Y1OZzr8=; b=u/9kpqM5ML69Zi1nUL3z0hQvGO0wzdZVVzYCalFRw77vkiErWwKp3LjlsjJlL4BoOc dI8JNGxZ3WO5mDA13A9Un/6mK6xdoix2htXphJGzZGv6geZopmdDZOkYXEpHSa2r6+se Iv95RK6FAWC90UslzaX4QGnhBn8xEu3cSRuG5wiQdgJsOtVbmK1HiLvtByleCEcAi50R 6Gp3oXmellShcEyYYUNW7n/Wdf/aqQq+mbb7WYX7eQZBlq28esbKH7uWcco8WQEGtIcG kH1MYEVvIwdvLanbwlO6QuePPGmF94rSQGECZL5t5cVHAD90eIxgVYkVouQueiI+V2UJ BNAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ysoft.com header.s=20160406-ysoft-com header.b=XQaBQ4n9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ysoft.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e8-20020a170902cf4800b0019f79ba4a01si2743189plg.443.2023.03.14.11.14.01; Tue, 14 Mar 2023 11:14:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ysoft.com header.s=20160406-ysoft-com header.b=XQaBQ4n9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ysoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230466AbjCNSGr (ORCPT + 99 others); Tue, 14 Mar 2023 14:06:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50808 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229665AbjCNSGl (ORCPT ); Tue, 14 Mar 2023 14:06:41 -0400 Received: from uho.ysoft.cz (uho.ysoft.cz [81.19.3.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0597AF2AC; Tue, 14 Mar 2023 11:06:39 -0700 (PDT) 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-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760367900552373709?= X-GMAIL-MSGID: =?utf-8?q?1760367900552373709?= 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>;