From patchwork Wed Jan 11 02:26:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 41718 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp3083969wrt; Tue, 10 Jan 2023 18:30:42 -0800 (PST) X-Google-Smtp-Source: AMrXdXuj8GFVRnx+bsNzATvNADwykztJ1uj9t7xzmFcn6gHWUO0kExjoSymRgoTHsi+6yELw4pH7 X-Received: by 2002:a17:903:3311:b0:189:9733:59d3 with SMTP id jk17-20020a170903331100b00189973359d3mr72373931plb.29.1673404242244; Tue, 10 Jan 2023 18:30:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673404242; cv=none; d=google.com; s=arc-20160816; b=0+PsYLQz5pgGcuyRRBi48DfrXxZf/6as1hgFhnB/wcGjXfIzqyPr67yrmCru2em8Z6 Q/9DgPsye58gyi3N8AQx5DN21dI/YRBBladiSLN2gsyzxdU4SGRw35WiAwmsFNfMC1DB nEVmH7KzeDE7oxdxOAHfj3vdlJ+q2DDunA+pvm2R/HvzPpKBPP3NU666TxrjzlaHuqxf yDI947uygUF0jMDUVKV3Y02tfNFAqwp82VqYt81IyA4Csu52YtWpaqvcFgeqdOvwK7SV 6F5ypum9vHPq/sNB3UYgwE9GU5Bd/JVuFiue+EeSPgp5AKw4+Yg72eKc3FbxXU2KseKK TL1Q== 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; bh=Pj5WqoVyuaupAmwxSdHS+A1Z2Lkila1UDKL5ifVkjIk=; b=iHTDM6JxG3cZa6JS/ZMFiDaIoICKv62KWP5gpkTqfAKJQ+X/ZWVZqFhJIU30GWdJWV R2c8AcMFIcVML7rDFOPOVg74sAOgSJbDzsV7ZCvj9DMnAq5dgnxq8lp2Uo42yqkxnDRD qfGvNRwop3q1zQfro76OzCUnfGMROk2ea+eVfKrwapF0s8rqo3HDY6FLPxQbEGvetm0G 0HMhBxcgfCQxKfuOv/9qqz/9GHcrVI5KcXHftptuRWrZj9UucwM2EZSvpE0v5eWtvQTN jfF/kAAe7PGK14xoG1lwwBUUhVx6Oc4/WJvCXRsMzJVWy61ArK+sSpyxadRnBQBsDo6e iPlA== ARC-Authentication-Results: i=1; mx.google.com; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u13-20020a170902e80d00b00178b88d40ebsi1201004plg.51.2023.01.10.18.30.30; Tue, 10 Jan 2023 18:30:42 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235517AbjAKC0l (ORCPT + 99 others); Tue, 10 Jan 2023 21:26:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39932 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235314AbjAKC0j (ORCPT ); Tue, 10 Jan 2023 21:26:39 -0500 Received: from mx.socionext.com (mx.socionext.com [202.248.49.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 605DD63A1; Tue, 10 Jan 2023 18:26:37 -0800 (PST) Received: from unknown (HELO iyokan2-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 11 Jan 2023 11:26:36 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by iyokan2-ex.css.socionext.com (Postfix) with ESMTP id 220E82058B4F; Wed, 11 Jan 2023 11:26:36 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Wed, 11 Jan 2023 11:26:36 +0900 Received: from plum.e01.socionext.com (unknown [10.212.243.119]) by kinkan2.css.socionext.com (Postfix) with ESMTP id 91CFC3D58; Wed, 11 Jan 2023 11:26:35 +0900 (JST) From: Kunihiko Hayashi To: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski Cc: Marek Vasut , Giuseppe Cavallaro , Alexandre Torgue , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Kunihiko Hayashi Subject: [PATCH net] dt-bindings: net: snps,stmmac: Fix inconsistencies in some properties belonging to stmmac-axi-config Date: Wed, 11 Jan 2023 11:26:22 +0900 Message-Id: <20230111022622.6779-1-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS 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?1754691526674439750?= X-GMAIL-MSGID: =?utf-8?q?1754691526674439750?= The description of some properties in stmmac-axi-config don't match the behavior of the corresponding driver. Fix the inconsistencies by fixing the dt-schema. Fixes: 5361660af6d3 ("dt-bindings: net: snps,dwmac: Document stmmac-axi-config subnode") Fixes: afea03656add ("stmmac: rework DMA bus setting and introduce new platform AXI structure") Signed-off-by: Kunihiko Hayashi --- .../devicetree/bindings/net/snps,dwmac.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) In this patch the definition of the corresponding driver is applied. If applying the definition of the devicetree, we need to change the driver instead of this patch. diff --git a/Documentation/devicetree/bindings/net/snps,dwmac.yaml b/Documentation/devicetree/bindings/net/snps,dwmac.yaml index e88a86623fce..2332bf7cfcd4 100644 --- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml +++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml @@ -158,11 +158,11 @@ properties: * snps,xit_frm, unlock on WoL * snps,wr_osr_lmt, max write outstanding req. limit * snps,rd_osr_lmt, max read outstanding req. limit - * snps,kbbe, do not cross 1KiB boundary. + * snps,axi_kbbe, do not cross 1KiB boundary. * snps,blen, this is a vector of supported burst length. - * snps,fb, fixed-burst - * snps,mb, mixed-burst - * snps,rb, rebuild INCRx Burst + * snps,axi_fb, fixed-burst + * snps,axi_mb, mixed-burst + * snps,axi_rb, rebuild INCRx Burst snps,mtl-rx-config: $ref: /schemas/types.yaml#/definitions/phandle @@ -516,7 +516,7 @@ properties: description: max read outstanding req. limit - snps,kbbe: + snps,axi_kbbe: $ref: /schemas/types.yaml#/definitions/uint32 description: do not cross 1KiB boundary. @@ -528,17 +528,17 @@ properties: minItems: 7 maxItems: 7 - snps,fb: + snps,axi_fb: $ref: /schemas/types.yaml#/definitions/flag description: fixed-burst - snps,mb: + snps,axi_mb: $ref: /schemas/types.yaml#/definitions/flag description: mixed-burst - snps,rb: + snps,axi_rb: $ref: /schemas/types.yaml#/definitions/flag description: rebuild INCRx Burst