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#"