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: 13139084 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 73DE0C636CC for ; Mon, 13 Feb 2023 21:33:39 +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: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:In-Reply-To:References: List-Owner; bh=c9bSYypCD2jPZA5bw4T3evDT0DTJXpTgtPqmjGoTzho=; b=M7n4SuALxAB+/x 03uyAqWxqrpqzaF7XLfVOT/So7s2Qd+2PqPyrd+p+fK2iTGaET7R3CUSstbOLK85IDaX0Ao7kQFlR OrS3T7/GZQaLg+uARU2xbjQdLqRXMmjdrIDRxy54zCzrCe24NRWOuUg9XVLc+c4hjSksx0MC83I92 /NCynuwOjbrfQtUpO1IPo+wlmWfxLslFi5mLvj2RW0Lb9hW2Kyg32tZ0Yg1yBgznaRIwTRq3gqhSn 6YNaAyEd5R0REmT9KUpG0doX4jKZwlIGeNsiUhw16aGEXSu4Ph3xeNi+/IKAdWMZ+Wjp1I7RaVJbh iCiY4bpDi/yAq+S1o/xg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pRgR9-00GM1y-CW; Mon, 13 Feb 2023 21:32:35 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pRgQy-00GLzq-Dq for linux-arm-kernel@lists.infradead.org; Mon, 13 Feb 2023 21:32:25 +0000 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-f198.google.com (mail-oi1-f198.google.com [209.85.167.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-659-VycRvdzIMhaUkwXTN4mN2A-1; Mon, 13 Feb 2023 16:32:08 -0500 X-MC-Unique: VycRvdzIMhaUkwXTN4mN2A-1 Received: by mail-oi1-f198.google.com with SMTP id a15-20020aca1a0f000000b003784baa9935so2772174oia.11 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=FPnqY5bCkhHorT4yCq1Wv4l+SvHX+cbWK1T2c4KpYRH3NiPngqjyWX/petslYoZ/gT /xpFskBHSBLA8q7L2Eiz0qSHLQdD4jXSrSYmqpix4ecAJCfLJFs3GIu8VqjbBOrAc9It AwuVTayv4ot8D4Js9pGIczHRKEqcyPDsATAqFzmnmwM/v2lfNLtSKYYRDSuaI0a/HwlO mj5tX5aI2OENAF3udFZ+AmymrsC7okgf9DoWc51nNm9WgQNGGTDIrN9hc7eaKfCUf0pC 3kxwNtpM2Ii/PtLCPBOUOv5TSOEaMmQjqsFcTW1DOTKx2TBYWmycbraEQXT8SnnW46/V ja4g== X-Gm-Message-State: AO0yUKUaVp0YETgL8WHx3QheT9r1D/4cUdw+yuLQhw2mAPf6DC8AD/t4 Vm/Y4x/M3ruJGWTQV5EtCyZbMWuGxBCv6zMmJ4lJSVxfbPaN0CAd9tMRN5+WogGMOYMs3O3zwwW OzeK/d3IH+ryQtMikHvtqsBDTvV+qOrE+icU= X-Received: by 2002:a05:6871:54f:b0:163:8b58:ab23 with SMTP id t15-20020a056871054f00b001638b58ab23mr15125908oal.35.1676323870517; 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 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230213_133224_574572_4E925D72 X-CRM114-Status: GOOD ( 11.65 ) 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 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: 13139083 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 6B786C636D4 for ; Mon, 13 Feb 2023 21:32:26 +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=KVZfFLH2/7rxMP6nedkrabYr3qkU7VbKXyx9LrwRCAo=; b=NaIvzAoDd443Xy ezCNSFqLJe5hWIrR7A6dWLXEOTYvcnJwT+u1Ll0W0jbHSWKoA0dMi4MVSyT8tf4QKdHpw4PPavBo6 kpLYS8J9REuIU/CdGbxtDgJOM1nsc++5Z6cCfjP5L71HToLm6L0GhuX33ZfqaaxBsGW+zOZfxNzP7 E4TnznPUWw7Q9urp3sn2/H43IJJSPgTgqnPQE0GXpfkgRgPkfRMWDsxSZNtBc2fcZHmn5+e7EovcX NAMeUvVZ68HNMv4iHS60DnVw55Ok3Tv+kjF3B/4C4shJTvwtFT+Ybmoja3Fvf8ETshstrAsVPl1/P 70csc/osHv6IEmpPYiig==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pRgPz-00GLqA-1j; Mon, 13 Feb 2023 21:31:23 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pRgPv-00GLpU-Vv for linux-arm-kernel@lists.infradead.org; Mon, 13 Feb 2023 21:31:21 +0000 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-f69.google.com (mail-oa1-f69.google.com [209.85.160.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-532-ZR-DLMo7MVqQbCENa5nzIg-1; Mon, 13 Feb 2023 16:31:16 -0500 X-MC-Unique: ZR-DLMo7MVqQbCENa5nzIg-1 Received: by mail-oa1-f69.google.com with SMTP id 586e51a60fabf-16df22df50fso2447273fac.16 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=KlyHn1Wum7Kiorm7C4Hb6+meyF7oxR6A/YswYprqwClJCkd5CDPpZcSj0mdsUe/COd FYw7tT/2j0heUH3BFUQUqlPpUv9qqNlM1xejpahmoB7gXtXkKG2S/9NczY+MulvTiPO3 zSTbiiG4rs097TpkiMu1CuHVs5zhb+3BCdTLglRp0bJWKYKoiiyrWi/nz3i+Ii47Bdiz uAj17ANw4CGJKog/ZgD77S6CMEZKbBprXXb1tl4/38j5Qx7dsmZN4LLrnC0/x9QnhgI7 C+DxQ8nUrG87Zuj4DfDfRvaM/bgzcLeps4Xeyu7c/KV09nW92t0JwjFhRKOgLl0eZAMI ETNg== X-Gm-Message-State: AO0yUKU//fAkgqDtl/8BLYJPJ54vUieWpJBwwepHo+DocMsh7t7o0i/s nUJGuTU9eEGyLJnyN8lMA/eDcSEktCGu5OPngr9fdnnKLl4/ZsJnQ4lIh1+NeB13hDyl4vFnGI7 oj/NMiqS7DjxrLDBF/zYGZw39rvdPwFHHlS0= X-Received: by 2002:a05:6870:3484:b0:16a:a81f:263d with SMTP id n4-20020a056870348400b0016aa81f263dmr10196321oah.21.1676323875614; 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 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230213_133120_141392_4268B3A6 X-CRM114-Status: GOOD ( 11.99 ) 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 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";