Message ID | 20230213213104.78443-2-ahalaney@redhat.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2589385wrn; Mon, 13 Feb 2023 13:38:49 -0800 (PST) X-Google-Smtp-Source: AK7set8+exNqbUEWpYZEVjCcRIBqo5PQ4jXN31O4mQ0KFh+4/Gmi4XJ968GYHUnks8Td0fwjeMUD X-Received: by 2002:a17:906:309b:b0:87b:d376:b850 with SMTP id 27-20020a170906309b00b0087bd376b850mr483814ejv.10.1676324329646; Mon, 13 Feb 2023 13:38:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676324329; cv=none; d=google.com; s=arc-20160816; b=m9tlur4PHXbxuUTfbZAoeJa8YJDQmczeyl6gqQ+nCK4lE+Ano64FA31IzJAUyGDuin IK4yFq+jP7tECMfyuNpPCX3wMAoqEawZyEc+48QbgOOSbpDikzcRdH8LT0mUYqa7c5Je yjCJaCkDVv18pxH8WISh82Qp0qRw+mJCZKdmpjq3F96yhQOnY+Nkfy1RfJGXFYtRROWI 4ZtvR2zEszLA/Sh7GHHTsrDV0dVwA1KQoGudthImObXk01ToZ+GLgr9ZqeQLMBfOR+Ct y+Xl/c1T+zi+45eHCfdT77kZYHTVuX1p42sAPAbceihHEKqUuiFKV/B1ZnUSKNxAfezV LZWg== 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=DOJWQgK0El7j4eURl5McfS3atvuUactc703LqDtB0l4=; b=C/OSJWoJVc6Sk3LBQAhAppJ+2/r4lo2yNUOuEKOQC7QJLoAtRDCAGOjwF26LKVBok7 HfVQPjTD2uD8MgBUudyPYI59eheRr7FVTZFc5vV97BLgtBy6mvHxCoN9FfZadp4M5lWN YkcTk99NL9bxsHIP9/mKglmn30KD/FKxISXon4tHpkPNp3zbRU/B5tA4n/gJcxF6X7sx tRSXdMZND1OpM7rpkskvCWY0e2YJrGtQ3aYDPLSlO8B6IKcsy8yuOB07PCgBkMk89wBe +oqLOo0l4NkXEvguCGXgKbZuTfnr5GcmWE/LUXiYVJp8rE+q0ZrKBa7DnyDrOqc6rSY1 WXkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=KMUPhhWw; 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=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 28-20020a170906101c00b0087bd629e9dcsi17026384ejm.173.2023.02.13.13.38.23; Mon, 13 Feb 2023 13:38:49 -0800 (PST) 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 header.i=@redhat.com header.s=mimecast20190719 header.b=KMUPhhWw; 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=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230415AbjBMVcH (ORCPT <rfc822;tebrre53rla2o@gmail.com> + 99 others); Mon, 13 Feb 2023 16:32:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50750 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230403AbjBMVcF (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 13 Feb 2023 16:32:05 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5148C20D19 for <linux-kernel@vger.kernel.org>; Mon, 13 Feb 2023 13:31:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1676323877; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=DOJWQgK0El7j4eURl5McfS3atvuUactc703LqDtB0l4=; b=KMUPhhWwDd4PA+y7uu3P6ewVD+9M62c5lsp3v/LkW4+vMqChTW3tAKWow9m8goxcOaJrRF aKOKhfWj9h7zZEgewCErOtSIOMq0tEsKLaNMDa1OG30TATeyOKPY/i8fjVdZbDjgs/dcjH foK/+/C24+J1mwkCAlFOgqEkUfLWiRk= Received: from mail-ot1-f72.google.com (mail-ot1-f72.google.com [209.85.210.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-157-MxU-7X5LN8qnPJ9SQDCuQw-1; Mon, 13 Feb 2023 16:31:16 -0500 X-MC-Unique: MxU-7X5LN8qnPJ9SQDCuQw-1 Received: by mail-ot1-f72.google.com with SMTP id m6-20020a9d7e86000000b0068db7d59df2so6874346otp.3 for <linux-kernel@vger.kernel.org>; Mon, 13 Feb 2023 13:31:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DOJWQgK0El7j4eURl5McfS3atvuUactc703LqDtB0l4=; b=Wbc+viAWCk2KFPZzGDWD1nxpn9uQz0jA5RMHaetW2by4bMbvDIXvDrbPot539c03zY xxegSG02YLw3Y3mx1bwsfgGqmn1aH6C64jox05wsXsdCm+xxDAB4uOlVDICrK3t6FCqF O3DXsxR1lWD6KCrF/6y7ZaZ5G49XHVhkhSYmlNXug0HC/hOi1m65U3GfaNUpOXlGM3S2 5DKDVDmGoplTVdQh0aZqVKk9ocWud4dBX0jJIX41zxiRgu459vPvgfHSK3JhgcNb9vuA GtSgBI9Qds78bJKM8rzPZfv9TjJjDc5V0UGIS35pMFb/6gbzn/GqGTbzbvHhewhCgR4L epMg== X-Gm-Message-State: AO0yUKUJpqqQJ2K/FbUaoe+r86wJzlzo/r9+s9aYGrMt4VW1x06W67XG KSqnLqseUwbFaLmZv4Mynd9mC7vx8mwuMthNkSBn6YoHKiVaCPTj3XsMQBbRZTRTGfDV3M29CW9 V0aeioB6eS/03DvMcIitfLfpA X-Received: by 2002:a05:6870:3484:b0:16a:a81f:263d with SMTP id n4-20020a056870348400b0016aa81f263dmr10196332oah.21.1676323875624; Mon, 13 Feb 2023 13:31:15 -0800 (PST) X-Received: by 2002:a05:6870:3484:b0:16a:a81f:263d with SMTP id n4-20020a056870348400b0016aa81f263dmr10196313oah.21.1676323875351; Mon, 13 Feb 2023 13:31:15 -0800 (PST) Received: from halaney-x13s.redhat.com ([2600:1700:1ff0:d0e0::21]) by smtp.gmail.com with ESMTPSA id xl6-20020a0568709f0600b00163263f84dasm5169880oab.12.2023.02.13.13.31.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Feb 2023 13:31:14 -0800 (PST) From: Andrew Halaney <ahalaney@redhat.com> To: devicetree@vger.kernel.org Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, alexandre.torgue@foss.st.com, peppe.cavallaro@st.com, joabreu@synopsys.com, mripard@kernel.org, shenwei.wang@nxp.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Andrew Halaney <ahalaney@redhat.com> Subject: [PATCH 2/2] arm64: dts: imx8dxl-evk: Fix eqos phy reset gpio Date: Mon, 13 Feb 2023 15:31:04 -0600 Message-Id: <20230213213104.78443-2-ahalaney@redhat.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230213213104.78443-1-ahalaney@redhat.com> References: <20230213213104.78443-1-ahalaney@redhat.com> MIME-Version: 1.0 Content-type: text/plain Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757753460207187449?= X-GMAIL-MSGID: =?utf-8?q?1757753460207187449?= |
Series |
[1/2] dt-bindings: net: snps,dwmac: Fix snps,reset-delays-us dependency
|
|
Commit Message
Andrew Halaney
Feb. 13, 2023, 9:31 p.m. UTC
The property is named snps,reset-gpio. Update the name accordingly so
the corresponding phy is reset.
Fixes: 8dd495d12374 ("arm64: dts: freescale: add support for i.MX8DXL EVK board")
Signed-off-by: Andrew Halaney <ahalaney@redhat.com>
---
arch/arm64/boot/dts/freescale/imx8dxl-evk.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Mon, Feb 13, 2023 at 6:31 PM Andrew Halaney <ahalaney@redhat.com> wrote: > > The property is named snps,reset-gpio. Update the name accordingly so > the corresponding phy is reset. > > Fixes: 8dd495d12374 ("arm64: dts: freescale: add support for i.MX8DXL EVK board") > Signed-off-by: Andrew Halaney <ahalaney@redhat.com> Reviewed-by: Fabio Estevam <festevam@gmail.com>
On 13/02/2023 22:31, Andrew Halaney wrote: > The property is named snps,reset-gpio. Update the name accordingly so > the corresponding phy is reset. > > Fixes: 8dd495d12374 ("arm64: dts: freescale: add support for i.MX8DXL EVK board") > Signed-off-by: Andrew Halaney <ahalaney@redhat.com> > --- > arch/arm64/boot/dts/freescale/imx8dxl-evk.dts | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts b/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts > index 1bcf228a22b8..b6d7c2526131 100644 > --- a/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts > +++ b/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts > @@ -121,7 +121,7 @@ &eqos { > phy-handle = <ðphy0>; > nvmem-cells = <&fec_mac1>; > nvmem-cell-names = "mac-address"; > - snps,reset-gpios = <&pca6416_1 2 GPIO_ACTIVE_LOW>; > + snps,reset-gpio = <&pca6416_1 2 GPIO_ACTIVE_LOW>; I don't think it's correct change. This property is deprecated. Also uses old, deprecated suffix gpio. Best regards, Krzysztof
On Tue, Feb 14, 2023 at 09:12:36AM +0100, Krzysztof Kozlowski wrote: > On 13/02/2023 22:31, Andrew Halaney wrote: > > The property is named snps,reset-gpio. Update the name accordingly so > > the corresponding phy is reset. > > > > Fixes: 8dd495d12374 ("arm64: dts: freescale: add support for i.MX8DXL EVK board") > > Signed-off-by: Andrew Halaney <ahalaney@redhat.com> > > --- > > arch/arm64/boot/dts/freescale/imx8dxl-evk.dts | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts b/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts > > index 1bcf228a22b8..b6d7c2526131 100644 > > --- a/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts > > +++ b/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts > > @@ -121,7 +121,7 @@ &eqos { > > phy-handle = <ðphy0>; > > nvmem-cells = <&fec_mac1>; > > nvmem-cell-names = "mac-address"; > > - snps,reset-gpios = <&pca6416_1 2 GPIO_ACTIVE_LOW>; > > + snps,reset-gpio = <&pca6416_1 2 GPIO_ACTIVE_LOW>; > > I don't think it's correct change. This property is deprecated. Also > uses old, deprecated suffix gpio. > I mentally grandfathered this in, but after your comment realized it shouldn't be. I'll post a v2 with the reset handled in the phy node directly. Thanks!
diff --git a/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts b/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts index 1bcf228a22b8..b6d7c2526131 100644 --- a/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts @@ -121,7 +121,7 @@ &eqos { phy-handle = <ðphy0>; nvmem-cells = <&fec_mac1>; nvmem-cell-names = "mac-address"; - snps,reset-gpios = <&pca6416_1 2 GPIO_ACTIVE_LOW>; + snps,reset-gpio = <&pca6416_1 2 GPIO_ACTIVE_LOW>; snps,reset-delays-us = <10 20 200000>; status = "okay";