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: 56561 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2586474wrn; Mon, 13 Feb 2023 13:32:21 -0800 (PST) X-Google-Smtp-Source: AK7set/ezeWXP/Ra9w2iMXkKkr0e0apYimhUuQ4pz6bX7zIecUjjgxal05aujGoGpaF53emwJH0P X-Received: by 2002:a17:902:dac2:b0:19a:8636:9e36 with SMTP id q2-20020a170902dac200b0019a86369e36mr428512plx.14.1676323941453; Mon, 13 Feb 2023 13:32:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676323941; cv=none; d=google.com; s=arc-20160816; b=zcPe97GUpp9ejNEbzJu1KVcA+SG0iCG5y/JmYkv4IU9sIVskIn+SoNM3Gn6B/1QV9p f+J/Omw4CwZYoDOoY1LgDjYi4F9grjDWObqSXj0Ex4u06JcIM+/zOKYyc4cnHTvZpZKp wKO8HWBkZ6UcK9WDoKPFw59U7V9qEGbFdAN9ZmNb20HHeZxVD2ItGocYhusBptuu+UFW mLRM+LoaJP94A9I2JXTie1wLtCHzXq1N/q22pfwcjUvO1oMQsb6KQ3ykUErrIEKYAi2C 6BPKlgVJorCztpNAKzna/qyICxX6cfa+QhRq3XCbI/6LyadwslGmqpelSs7CSPPXPJgG B5Rg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=S8Jx6cSFIcaW45Hs8sr354ULKB9oTW16m++fk2w9xe0=; b=x1BBUUjpywfOdSJCMiW6Y+MCBTJw+GLOOhk+uTAu6uFN0b10d3jixH1kCW6oBIPXr9 Bj3n0veuXdsXNgQzKppkxUcSHeXo+NE9rjqqfRmUOzs1GfiXwLJb70jK6TrrsQ+IhfrS trvLhVlD+QChbXVrQZImDxi9GbldCX6z3YUtlLNbTuSNdjI9W1+Q/SxBMQu8CrswCPTz 2Jyz6gUwgOyCtY1VS1oLfnyPxIp918fj0xZ7vbR+Nk5BjhexqPj++/JInr0KVWSSb7f2 GbKiulAFKiYwgWimN/RXfzKA7xYMVr81o9OciyVCyLAf0xP6qa0RZlpryUg+cm45RMwJ sMZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=KuD8GqTv; 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 p11-20020a1709028a8b00b0019329597730si11879628plo.378.2023.02.13.13.32.08; Mon, 13 Feb 2023 13:32:21 -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=KuD8GqTv; 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 S230393AbjBMVb6 (ORCPT + 99 others); Mon, 13 Feb 2023 16:31:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230293AbjBMVb5 (ORCPT ); Mon, 13 Feb 2023 16:31:57 -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 6AE2D211DF for ; Mon, 13 Feb 2023 13:31:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1676323872; 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=KuD8GqTvpVranlU5etaswDSwFLMK+9dnUCc4gqfrdbVsMPGiqtZugEFrHqrZtpuY0urvkZ fZEP/FdoTYH41qpzEr6w2olSXBrU4k8GE6MF2tNu8vbIM4FHywNHLSbyLMuWp4kfBnqDlP bl+3U8ZF2HiVbYkCWe05Hl+ht1kXaYM= Received: from mail-oo1-f69.google.com (mail-oo1-f69.google.com [209.85.161.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-297-vLt1leYdPZ-aqfjuYa4SIQ-1; Mon, 13 Feb 2023 16:31:11 -0500 X-MC-Unique: vLt1leYdPZ-aqfjuYa4SIQ-1 Received: by mail-oo1-f69.google.com with SMTP id r8-20020a4aa2c8000000b005174e40d6f3so4868182ool.17 for ; Mon, 13 Feb 2023 13:31:11 -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=aFmIG++T1dAO9+OgvOsOQQAdjG+90gyYEA38CZd58KM/i6+NAqemBwI+7BsZmFYejb 5CDcr+ExUcLPEvZtHQZ9GWMoJ9eFSUi4GQyzWCLnnSM9sggpmfzGpM971kA4zVAjxOMz zXePBswG7qgJSCeCNxg14K9lP/I4X0n2JffODIdb97ThvaoZQ126lhDpxLgOjgQ+aICI XeC9TPxRCWMQt5VtA/qqVuhQqaAcMI2MB7A+kpKoHBEqpMEDsuzIH0RnspOiETnn7Koj QVH3t36GiWAIOAw9HTco2lY4k6y6wzn/WKTLhDmlAJ+hspvP+gZ7EoyC+cjsCejVhDNJ Jq9w== X-Gm-Message-State: AO0yUKXYljq78xNFQYPo4tWXdZzlDGyCkAXeRWRdxSIhAr7TVpwIQdnh gI53t0nTUFFsbzU8A+PzDlGeggi2ndRX1vGzZBCmIqmNj72uicKZW0hflHoPGQNYoAW6QwuKMcc Jkyy/WUdMtj/GjGIRrVRnP/Fq X-Received: by 2002:a05:6871:54f:b0:163:8b58:ab23 with SMTP id t15-20020a056871054f00b001638b58ab23mr15125906oal.35.1676323870511; Mon, 13 Feb 2023 13:31:10 -0800 (PST) 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 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757753053191769661?= X-GMAIL-MSGID: =?utf-8?q?1757753053191769661?= 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: 56562 Return-Path: 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 + 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 ); 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 ; 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 ; 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 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 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: 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?= 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";