From patchwork Mon Feb 13 21:31:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Halaney X-Patchwork-Id: 13139082 X-Patchwork-Delegate: kuba@kernel.org 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8F74BC636CC for ; Mon, 13 Feb 2023 21:33:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230417AbjBMVdT (ORCPT ); Mon, 13 Feb 2023 16:33:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230372AbjBMVdS (ORCPT ); Mon, 13 Feb 2023 16:33:18 -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 3861535A9 for ; Mon, 13 Feb 2023 13:32:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1676323941; 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; bh=S8Jx6cSFIcaW45Hs8sr354ULKB9oTW16m++fk2w9xe0=; b=TjEu8dv/xFVfpIqx6TXKVVAlS0zCtuLqCjUJCuojh4JORJ4DodbBgIxrPCNlMVyg4oZXpt sjsM8FNzHWPFIpaSKxSQGk0fdoDaM+nilFWvTZJNBa/ZN8jkk1laBYG3eoDLZx4kvZrgTr 7cpGj1/gAo06CoT4B0k5YFV0x0m7DhI= Received: from mail-oi1-f200.google.com (mail-oi1-f200.google.com [209.85.167.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-659-xMEqbU3hOAODw600XKZQlQ-1; Mon, 13 Feb 2023 16:32:10 -0500 X-MC-Unique: xMEqbU3hOAODw600XKZQlQ-1 Received: by mail-oi1-f200.google.com with SMTP id s4-20020a05680810c400b0037890be175fso2767537ois.14 for ; Mon, 13 Feb 2023 13:32:01 -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:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=S8Jx6cSFIcaW45Hs8sr354ULKB9oTW16m++fk2w9xe0=; b=Xn7OqT+hAq4YjOFrA6HG3CrY6lUGEnhtG+TpUPauii+srO10QXM4f3FukdMjti0N+F ZHlQ2dkU5+EBqtFLFgEuNwAx0a21sW9pV16t0O2HJzmSu6P5/yE2COceOH1unu9+amSa SCR5xXNENfMpD9F+kxtinvMwW8S8g357jKgEcrvhk4KTmxGZVHx2+jqYuhGNBlpKlx+/ z5b7CcPUDXjzfHGTazql1x+9LmB9k6GThqImxgLojgZ9BVjCdWVdLV1aBuETIXMIwprv 6dghhgsgTmKoottx5OR72fraq5faqi5juokWhT7EDWINO1/ZRTIyWMfz06Euy6cb70B7 zZOw== X-Gm-Message-State: AO0yUKVPwpyzlJvzIZej5Fh5V2KW+SXU7b/+GxT4fA1lpVf93oIh2gDu NudmBad0KCpxYx3rmMK5Sf+mTPBj7HJEKRgxB5vTIXDrb/E/Y3JMWxjc/Jq/0AYMCNWKMleqtIE R9D8NE4bf1apHN5SE X-Received: by 2002:a05:6871:54f:b0:163:8b58:ab23 with SMTP id t15-20020a056871054f00b001638b58ab23mr15125905oal.35.1676323870510; Mon, 13 Feb 2023 13:31:10 -0800 (PST) X-Google-Smtp-Source: AK7set8UBE4VIVd2o9PdNKsl3q4pn7Mu5YmJ8E0oL9yKlg3DnN3+1x4FKFROitPge1Hvry3cpiLsIQ== X-Received: by 2002:a05:6871:54f:b0:163:8b58:ab23 with SMTP id t15-20020a056871054f00b001638b58ab23mr15125883oal.35.1676323870229; Mon, 13 Feb 2023 13:31:10 -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.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Feb 2023 13:31:09 -0800 (PST) From: Andrew Halaney 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 Subject: [PATCH 1/2] dt-bindings: net: snps,dwmac: Fix snps,reset-delays-us dependency Date: Mon, 13 Feb 2023 15:31:03 -0600 Message-Id: <20230213213104.78443-1-ahalaney@redhat.com> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 Content-type: text/plain Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org The schema had snps,reset-delay-us as dependent on snps,reset-gpio. The actual property is called snps,reset-delays-us, so fix this to catch any devicetree defining snsps,reset-delays-us without snps,reset-gpio. Fixes: 7db3545aef5f ("dt-bindings: net: stmmac: Convert the binding to a schemas") Signed-off-by: Andrew Halaney Reviewed-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/net/snps,dwmac.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/net/snps,dwmac.yaml b/Documentation/devicetree/bindings/net/snps,dwmac.yaml index e88a86623fce..16b7d2904696 100644 --- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml +++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml @@ -552,7 +552,7 @@ required: dependencies: snps,reset-active-low: ["snps,reset-gpio"] - snps,reset-delay-us: ["snps,reset-gpio"] + snps,reset-delays-us: ["snps,reset-gpio"] allOf: - $ref: "ethernet-controller.yaml#" From patchwork Mon Feb 13 21:31:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Halaney X-Patchwork-Id: 13139081 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EAB45C636CC for ; Mon, 13 Feb 2023 21:32:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230405AbjBMVcG (ORCPT ); Mon, 13 Feb 2023 16:32:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50768 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230401AbjBMVcF (ORCPT ); Mon, 13 Feb 2023 16:32:05 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6FA132196A for ; 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-oa1-f70.google.com (mail-oa1-f70.google.com [209.85.160.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-556--r-j3QKzO_CNgUoTS6H_eg-1; Mon, 13 Feb 2023 16:31:16 -0500 X-MC-Unique: -r-j3QKzO_CNgUoTS6H_eg-1 Received: by mail-oa1-f70.google.com with SMTP id 586e51a60fabf-16df7d9c780so2200787fac.3 for ; 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=JbWpmmygkCrvmWZv7zOGCsORlGIc6x6zx0JbI37VSgl7sR6nlNxJJMB+fvNJw3H4OI o2xad8vvFXncuDFb2x12T43EnxAsUedJKjuely0EvXxc0gNB/Vulj1+gr9XzlYyFJNUh z13ln4PorXFxlHN4ICs9oPkPpGqG8jPYN9uZIS251RBvBndXbJTNm655KHX7DIwdRrfU gNhXxucWdC2q/kpzONnOfYftrqUG69x+Ox9fzSwwClC3DsH3c/cVhSAV7XwzkQHtgzXS QFUuMeJBvDgFRlrTr7Vvxm2jz78x0zwqT5+4lAyvc1ZlqWEAv4S600n1yuRzKBO+LtwN rVfw== X-Gm-Message-State: AO0yUKWuh9GnuH02TVDFVYlnzxyorortbvfVorLiADC7knafnvTTDV0r uuX7GddW3GN9QqX0Rc2K6gSxT0TehiLVDl4HHNiA+r76JTcvMyVRmRAKUYipKlUMpLZrzmgvv1p L+KlwE+IenXtxr10i X-Received: by 2002:a05:6870:3484:b0:16a:a81f:263d with SMTP id n4-20020a056870348400b0016aa81f263dmr10196330oah.21.1676323875622; Mon, 13 Feb 2023 13:31:15 -0800 (PST) X-Google-Smtp-Source: AK7set8es8huWxHFgDWxt4YNTypK6yBKCWRGYW1vG1mos90OjBzQZeLzaN5aCznYq3OxEoSvRx7qGw== 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 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 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 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org 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 Reviewed-by: Fabio Estevam --- 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>; snps,reset-delays-us = <10 20 200000>; status = "okay";