Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp9116133rwl; Wed, 11 Jan 2023 01:27:34 -0800 (PST) X-Google-Smtp-Source: AMrXdXvkbIATA4p3MFWhGkclLsz5ksQUyM+hp4JDupIq73WWSvab0hk8LOVYB0Wn0+G7UEDFf2VM X-Received: by 2002:a05:6a00:993:b0:581:c2d3:dc5e with SMTP id u19-20020a056a00099300b00581c2d3dc5emr59835675pfg.11.1673429254547; Wed, 11 Jan 2023 01:27:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673429254; cv=none; d=google.com; s=arc-20160816; b=Y+233jMI17Q2DG3tDDoROBgiETkoyNIzv9JUQqxs5h7M4mSzXERbQWi/BA14UCVgNE 058RAnFfB4RV4qmHEVe+ZaXPh12g0lUistuurmPJ/x3PejqjrsEseXrFaQzoPHSjc9rZ 8HkHyxD/POWKownY05CqBKybB818oCphRyJ+einObjB+skWJTymlVBj+sLqLHQrvTFdz RhI46MiK1VZe/BRaDQTDa9PSfD4BrU84+k3hEPOUyIeUG/6Px16yeIGxVny8qeOVigRu OZPEypN+/ZpQSlIEjRIJ7SyiRtpJX/ym7TbtIpB78LMtjFN56tRjbgVPd/octTAIVVZg eCpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=r+b9YIlyxxIpNUSOlhdxX5ZbT6XxJqgYA1d8wXJ3r8g=; b=rqYswqRklgxQjE42mhoPDO8atrPlmtUdDTrINxFs84o8Pb6n/gdq6TCiWe5tXWCm/O 03rUtwPsomIiasG1e8BcGl6OYxVzY7FkUEg9gdkQ3d2vkerhkc2IgcdfuCGE7D6IwALK reHmD111xoKeoV15x0LPy/dEG/JPu5NFXLjulXYVaxfhLUbaBsW+pnfjXDymK4/cDcmd 4K+mlIBruH3dmbPMa4JDf69rpgf1uv8XQmtJATuUBbxolVeQH2MzGp59pRdrKYeqv223 vSdLxfFKxGXOtIlVd/+9JpAtVwR/xM6BkX7cxh145G+Oai2nCizZki2E/l9Z7C7oh+0b AICA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tQNXel1J; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w70-20020a628249000000b00582e67b2033si14572617pfd.101.2023.01.11.01.27.28; Wed, 11 Jan 2023 01:27:34 -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=@linaro.org header.s=google header.b=tQNXel1J; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238452AbjAKJTg (ORCPT + 53 others); Wed, 11 Jan 2023 04:19:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238753AbjAKJTF (ORCPT ); Wed, 11 Jan 2023 04:19:05 -0500 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1913D10EE for ; Wed, 11 Jan 2023 01:19:04 -0800 (PST) Received: by mail-wm1-x331.google.com with SMTP id bg13-20020a05600c3c8d00b003d9712b29d2so13872505wmb.2 for ; Wed, 11 Jan 2023 01:19:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=r+b9YIlyxxIpNUSOlhdxX5ZbT6XxJqgYA1d8wXJ3r8g=; b=tQNXel1JOEtrldOmSMxv6ZGlAwRmbLbcPoOnTOV9ldOQExL0+Y2OX8b2Owuil6fDZg jnirKasj47OoAR3haSDz24iIy1voa8nLtf2P5PlrLV7vTgNwDqJwWKG5pFMVQo5+4oFu Y4bIiisAmhNeVfquLKXo06wEst65GHTPI/W3wwEoEHiyrxBVcY8yB3RW+c68EsukUDxb iIbj6wdnWS5sTDGiTlKTx/nwCUADtgblGedJWkkGaOFZUZutbZh/8ljeaL/e5GEDyFWR PYOJop4DB1Af0odKmQ6qPu2gkc0uYgYMVJlwI9h8B66yoLYurgHBsxKN4+8NL/Xq45WU 27fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=r+b9YIlyxxIpNUSOlhdxX5ZbT6XxJqgYA1d8wXJ3r8g=; b=QcIJsu4HXbkYZgUX8UlePAyvCV3n5ZwwCSm5RMthpI1ihYD/bQ4Zl/1gAJmFH7O6U7 tA2ZZD/XlQdqfWWwKgGYicf2ZoRJPb5hgCdHsoJrWESXkhlwaEE8sNRlSMbmNQWgn0Jz Musy7ZNJN4fuCS8V+eYHhSf+39l2eyO6NHS5dT9ImHCSkgyEqwYQ9X6KCsCOYT+rEAeI BoY+hKPjPG+0qkvFWaLvlAskpGTEvI7jvIgjEBwTjt+yw8p8Ynv8Fwc3/PkevgZDOpTI 0yw6cwW8DXw5Oauo7XKD4olQkqQ1UHPIkRsiKiV/8AfS1grW1RPoulIfCfkJgw0QKJmS Rg0Q== X-Gm-Message-State: AFqh2kobHGM7qPASehA2IBTwgABBxTCyZqPXykIZ5MIZRCC7mTVKLbhe qX3s2ABIVp3JXwfXrNAIFtCRiw== X-Received: by 2002:a05:600c:1d0e:b0:3cf:8957:a441 with SMTP id l14-20020a05600c1d0e00b003cf8957a441mr17966041wms.12.1673428742618; Wed, 11 Jan 2023 01:19:02 -0800 (PST) Received: from [192.168.1.109] ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id u24-20020adfa198000000b002bc84c55758sm5684749wru.63.2023.01.11.01.19.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 11 Jan 2023 01:19:02 -0800 (PST) Message-ID: <7c0156a5-6520-bb3b-ae84-222ad1d1674b@linaro.org> Date: Wed, 11 Jan 2023 10:19:00 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH net] dt-bindings: net: snps,stmmac: Fix inconsistencies in some properties belonging to stmmac-axi-config Content-Language: en-US To: Kunihiko Hayashi , "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 References: <20230111022622.6779-1-hayashi.kunihiko@socionext.com> From: Krzysztof Kozlowski In-Reply-To: <20230111022622.6779-1-hayashi.kunihiko@socionext.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 On 11/01/2023 03:26, Kunihiko Hayashi wrote: > 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 NAK. I don't understand what do you mean by "corresponding driver". Driver uses existing properties in current next. > --- > .../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: There is no such property. Driver parses snps,kbbe. What's more you introduce invalid character - underscore - for property name. Best regards, Krzysztof