Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp14488554rwb; Mon, 28 Nov 2022 01:23:34 -0800 (PST) X-Google-Smtp-Source: AA0mqf6VO0NwWPA8lHRI1u3nEkU5pK8aCwtq5nydxTVfYj258mm5aou7dmIRPuKSwv9gq23LbrAU X-Received: by 2002:a17:906:392:b0:7b5:a9df:d83e with SMTP id b18-20020a170906039200b007b5a9dfd83emr32128535eja.358.1669627414070; Mon, 28 Nov 2022 01:23:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669627414; cv=none; d=google.com; s=arc-20160816; b=dv9y9VUzW3wBjINEVkU99m8y9Dv/vODqW0/2xJ/BDO/d/qWeBhnqWcvQVd1jgzlzex +Pr+u3OTUljDv352sEvyUAffy9RFRMDUY3+pQAXrNf4Y7VT3gFC3VRdqZde9OaPZ/ewh 6PU6dOd5CQYMH/Qpf0vXccMjSUaAvEMu+MSBRKRZG0rImgQJ0JadaRnMlLX2NFvCRkn0 P117yuJAQ/Jx2cPL1HbZNMu3CXqKDtxWWvS4yziu7SQi59g19N+PDK0WZsRIeeDPrU5G TWfv0oSe/iUGr7rk74/+lYmXUkpZ31bp7EVJg+6vLPs4admIdnGor6ISr2KO6jMN+zpj kKkg== 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=A55aTUx9um1awxaJwrSFbAQ2B0+UBrA3NMiv8IfADq0=; b=Ir7moLbK4SkWMTQOASJRdrcx6jJstdY+FKaCWecNGMgRXk26g/NcBpQbgHYGXMYf0z MjZfwtgsPAK2449d0YRuxNC/Cn+wLjE9mbF0lHoOC6FmvwuGx6pshcVixL1NOTGBmolQ Gka+sfXnJfzDMY+YBGh+BT1n8hn3h3wo8DihxvL7yjcKI/sLCOLIPviMTCD12rO9BsJT gScbeuFiJZfRvQuOftjoqbv3G31520SGHOumcWPH1EB1yfvXT1nYK+kD5hkE/2DhPvMk JKBojDf8utpld1D/euacZtVP0u6SPX7/h2uWgPoqUt5p2nHQATd5VEian968qlwXJg2Z OmFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=S72uyT2N; 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 hs25-20020a1709073e9900b007ae98ea45e0si10967981ejc.751.2022.11.28.01.23.14; Mon, 28 Nov 2022 01:23: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=S72uyT2N; 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 S230176AbiK1JFE (ORCPT + 84 others); Mon, 28 Nov 2022 04:05:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36018 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230004AbiK1JFC (ORCPT ); Mon, 28 Nov 2022 04:05:02 -0500 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3FD171789F for ; Mon, 28 Nov 2022 01:05:01 -0800 (PST) Received: by mail-lf1-x130.google.com with SMTP id g7so16311944lfv.5 for ; Mon, 28 Nov 2022 01:05:01 -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=A55aTUx9um1awxaJwrSFbAQ2B0+UBrA3NMiv8IfADq0=; b=S72uyT2NmmapvIzFBlVuuVu0Rj7I4DWGK7uN5lPNwFlu0h/1xHqfc0w1ekc4I5t3Uc EN1EyLvMqacGCEyoAVBLE2K5WwWW7b3QhzeHSt96fjPRHdsIcBipIoipMdiiwv2KLMKF 4jRN/hMdKFY1tCOyS2B1azQZzCvJ4VqiGQ1gKE4FLqK3KOY/tB4uwWsoppviePTHGj0I xVFArXGbIddcVz/WKsB70I0stTDLANjS0MD/cELNNmuhiNaxpmNVJ0t77XYWD8eX6Ptt DPn9UqhkeYxwgnaF/NCocPrBYXR5aGK3rgOKaYtBrYcmlo9DtCVRy2H/GR/W6qgBGkuG 2Pew== 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=A55aTUx9um1awxaJwrSFbAQ2B0+UBrA3NMiv8IfADq0=; b=56q+nvhv2rEdNwQ4YGmKsvP8H+ovSZc2joo7pZtg3XNbGnDjHqvBaOUSzjcqjugmkF 4oTq80J+w/IQySaugPCexdSbaY7dNezPotqgjqyJQHNcYMw3zCI7R9pI1YpDNL1web59 Ih7cQCs7E37e79e9X6KAVlCwDO381PGcWSMlT0+xEssSCYlyuUA50c4uFGdM39rppc1K /LODPvCgpgBBikyvVP6EJlVCgydGCZzbs+OwEwzeptFXbIVnDH1pKx5b6aAJulng86HO mVu8HswJg0D/Z7ajXinpSoNgz0Rq05ey2zi7RejIeBAyXZccZtryFJGXv/tXJfZzSdYN skBg== X-Gm-Message-State: ANoB5plE5/raCOIbVS50cwI/XUQ2fY4FO+88MzxOkHTA1WAJUV7lk5Cb 38jTxCq6/Z+MeT1kjvQ1239lpjifCdMh46/5 X-Received: by 2002:a05:6512:2987:b0:4b1:61a6:fc45 with SMTP id du7-20020a056512298700b004b161a6fc45mr11308428lfb.224.1669626299613; Mon, 28 Nov 2022 01:04:59 -0800 (PST) Received: from [192.168.0.20] (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id r30-20020ac25c1e000000b004ac088fdfd2sm1645536lfp.85.2022.11.28.01.04.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 28 Nov 2022 01:04:59 -0800 (PST) Message-ID: <9985d44e-977e-d7ea-0932-4879a3ccd14d@linaro.org> Date: Mon, 28 Nov 2022 10:04:57 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: [PATCH 7/9] dt-bindings: spi: mtk-snfi: add two timing delay property Content-Language: en-US To: Xiangsheng Hou , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Rob Herring , Krzysztof Kozlowski , Matthias Brugger , Mark Brown , Chuanhong Guo Cc: linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, benliang.zhao@mediatek.com, bin.zhang@mediatek.com References: <20221128020613.14821-1-xiangsheng.hou@mediatek.com> <20221128020613.14821-8-xiangsheng.hou@mediatek.com> From: Krzysztof Kozlowski In-Reply-To: <20221128020613.14821-8-xiangsheng.hou@mediatek.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.4 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 28/11/2022 03:06, Xiangsheng Hou wrote: > add rx-sample-delay and rx-latch-latency property. Start sentences with capital letter. Here and in commit subject: property->properties > > Signed-off-by: Xiangsheng Hou > --- > .../bindings/spi/mediatek,spi-mtk-snfi.yaml | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > > diff --git a/Documentation/devicetree/bindings/spi/mediatek,spi-mtk-snfi.yaml b/Documentation/devicetree/bindings/spi/mediatek,spi-mtk-snfi.yaml > index ee20075cd0e7..367862688e92 100644 > --- a/Documentation/devicetree/bindings/spi/mediatek,spi-mtk-snfi.yaml > +++ b/Documentation/devicetree/bindings/spi/mediatek,spi-mtk-snfi.yaml > @@ -55,6 +55,22 @@ properties: > description: device-tree node of the accompanying ECC engine. > $ref: /schemas/types.yaml#/definitions/phandle > > + rx-sample-delay: No, use existing property, don't invent your own stuff - missing unit suffix. See spi-peripheral-props.yaml. > + description: Rx delay to sample data with this value, the valid > + values are from 0 to 47. The delay is smaller than > + the rx-latch-latency. > + $ref: /schemas/types.yaml#/definitions/uint32 Drop $ref. > + minItems: 0 > + maxItems: 47 > + default: 0 > + > + rx-latch-latency: Same problems. Did you check spi-peripheral-props.yaml or other SPI controller schemas for such property? > + description: Rx delay to sample data with this value, the value > + unit is clock cycle. I think the unit should be rather time (e.g. us). > + $ref: /schemas/types.yaml#/definitions/uint32 > + enum: [0, 1, 2, 3] > + default: 0 > + > required: > - compatible > - reg Best regards, Krzysztof