Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp1304079imw; Tue, 5 Jul 2022 07:15:00 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tVRLNd7m5DmtfTz9ORxRTcd1C8YD2P0HLn9OqpQn5yMJ4TdIKn7u3b9GGtGc1hIkFW+eZh X-Received: by 2002:a05:6402:5207:b0:435:a27b:88f7 with SMTP id s7-20020a056402520700b00435a27b88f7mr47755833edd.22.1657030499831; Tue, 05 Jul 2022 07:14:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657030499; cv=none; d=google.com; s=arc-20160816; b=MrvvQJVb2vPYGWha6Bb2pxn6cpuLdGwQiTAozCt7yaC8o/oBjclakkCk/SeibWiFWR RvAT56bKL2iEmstQ9qLUUOYMR5De9venGbYs7sx3KcuUDuC9TZWj/nRMSWvaDKlw0O8K MgPclQC/YGqKSdnPKdSbdyjq8b7YjpFAItb7EoaHkvd2HyTf87NiBx9IkNg6qawbtg45 XQ+/0jri1hGnitOwez9V8vuTwkaYIp7pl/V+s1xRhga8p+3ZdvBSNFHpT1S9vmf2TKh2 9/l6xSDivIBPTxATuMkbUwVy8A1bkhnU53zXxoxtyZButj2EvIwmOKfIJPAsKxe61k7Y KVDg== 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=FTByuoUDWjyR8an2g05CMGFWtHf96FEqLs3ngrwh6us=; b=mT+AZuLjXumH0D4LdtauA90x9OdKjQHt+BT+CGhI7vBOWUSoXgHFIGn8oBIdGmFaol i10kpxN9eX6UPhNjOU0hmxrIKxKf1E6p+SB0Xp7dUBfV0aHvYTGEoVl2hBmCX/8pN0Ev muAD5zwAkv2yVEcqjaba8NWchHtFqfYy6pUS3KK6KN+AXhIGeaBq7jYgJzGnwRwE8JA4 FdUPo+lWDCyvMnv5BBr1iY243RHc91MWeIsNbwz36J9OmFBpGrw1d2NyQOzVEr/QJVqe +VkZKPqapFb3zaIpXM7D+to/Q//jBCyEzHvJHoJsCNWFiEF8X7V5G+Rv7p5Ux5UpyEcp PYEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GBKk4fxR; 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 h19-20020a05640250d300b0042e0cfdab0fsi27483847edb.6.2022.07.05.07.14.34; Tue, 05 Jul 2022 07:14:59 -0700 (PDT) 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=GBKk4fxR; 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 S233064AbiGEOLk (ORCPT + 99 others); Tue, 5 Jul 2022 10:11:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230398AbiGEOLS (ORCPT ); Tue, 5 Jul 2022 10:11:18 -0400 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 49A181EC5C for ; Tue, 5 Jul 2022 07:03:39 -0700 (PDT) Received: by mail-lf1-x135.google.com with SMTP id t25so20724589lfg.7 for ; Tue, 05 Jul 2022 07:03:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=FTByuoUDWjyR8an2g05CMGFWtHf96FEqLs3ngrwh6us=; b=GBKk4fxRrkRm2c6psUm6D/w0N6n06/W6BtHOUvFHVMUiEdDkUP1q3E7Hz3nQoPPBR8 5UWPpfePuVzE2M3m9X6CPurk2EYEJIF/Xsx3X51ML0Oqn+H48opY24dyLGyRx8NWnSJh eyBKLJTcWVBNh7YybUZ/q2k44/aNZmn7GyfZSJOPonRfHLLnopZ/Qu0w+4AI+sRHrgMB vwdx1u/Il43czbMCaBdZ8xbPZRCEsoOMXvR6wuGUVRjbfO2Ntdo47Y5e7zgLNK5qglbQ N44z5Esp4HfJ5zYyPBLLp4LQbUQVB+96Rg325ZjuoHsK4uWgnbMN7DG7I50n/ZM9MhBy 7ygg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=FTByuoUDWjyR8an2g05CMGFWtHf96FEqLs3ngrwh6us=; b=cOQa97khCjt3qh77LJJ5XUhWf3dIJbtV/Mud34zyTo8zUZE1sOobdD1bn4k5mVDGmf cTj2iI6aWUfufCcYbEJ1yG85K+2vVlQbUuRbtGUhUQVehLhhH1TMFkkLEVOfzbsn+VX0 BMJTn23xTBHc0ZXMEDaOAwGyM6QFlNIrnQNws9Gt9yTglcAUu+TsyumkH3C2xVTosKW4 hUBnfAWG10oMMw2E9Khsc7VQjOl4oLIQ2Ml+pCC5vH5p5vh2fvx7hWXeWRaJn9UACFZR 5SCvl0/6G2Nn1Ca/6eqFOhis2zHVv/f8Infl++6GGzjOiOOqKI4qwHhVnMu7B6XH1Krs uQyw== X-Gm-Message-State: AJIora9jSc92nla4qsivi6hespe6QLBndUl2g4/1vrYhoj7kYYjEKjXI f+jLz2dhjWe8b7h1N1B8n6UA+w== X-Received: by 2002:ac2:4e10:0:b0:47f:9af2:9c64 with SMTP id e16-20020ac24e10000000b0047f9af29c64mr21115541lfr.109.1657029817605; Tue, 05 Jul 2022 07:03:37 -0700 (PDT) Received: from [192.168.1.52] ([84.20.121.239]) by smtp.gmail.com with ESMTPSA id d13-20020a056512368d00b00480fdbc1b01sm5301077lfs.64.2022.07.05.07.03.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 05 Jul 2022 07:03:37 -0700 (PDT) Message-ID: <777026d0-578c-500f-7da4-0e81fc211df2@linaro.org> Date: Tue, 5 Jul 2022 16:03:35 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH 07/11] dt-bindings: spi: spi-nxp-fspi: add a new property nxp,fspi-dll-slvdly Content-Language: en-US To: Han Xu , Bough Chen , "ashish.kumar@nxp.com" , "yogeshgaur.83@gmail.com" , "broonie@kernel.org" , "robh+dt@kernel.org" , "krzysztof.kozlowski+dt@linaro.org" , "singh.kuldeep87k@gmail.com" , "tudor.ambarus@microchip.com" , "p.yadav@ti.com" , "michael@walle.cc" , "miquel.raynal@bootlin.com" , "richard@nod.at" , "vigneshr@ti.com" , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" Cc: "linux-spi@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-mtd@lists.infradead.org" , "festevam@gmail.com" , dl-linux-imx , "linux-arm-kernel@lists.infradead.org" , "zhengxunli@mxic.com.tw" References: <1657012303-6464-1-git-send-email-haibo.chen@nxp.com> <1657012303-6464-7-git-send-email-haibo.chen@nxp.com> <59d360ef-5374-c7a7-2995-854ab3715b25@linaro.org> From: Krzysztof Kozlowski In-Reply-To: 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,T_SCC_BODY_TEXT_LINE 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 On 05/07/2022 16:00, Han Xu wrote: >> So we probably misunderstood each other... looking at the driver it also explains >> the confusing. You encoded here register value which is pretty often wrong >> approach. >> >> This should be instead meaningful value for the user of the bindings, so usually >> using one of property units: >> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com >> %2Fdevicetree-org%2Fdt- >> schema%2Fblob%2Fmain%2Fdtschema%2Fschemas%2Fproperty- >> units.yaml&data=05%7C01%7Chan.xu%40nxp.com%7C0ffe3d706e064f14382 >> 108da5e8a5add%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C6379262 >> 45564450475%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV >> 2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Q4 >> SfVnBN%2BQ0vYKJzRf%2FXZkCA1WGyPV9doFcb%2BLSKx4w%3D&reserved=0 >> >> I think you could use here clock cycles or clock phase, but then it has to be obvious >> it is that unit. > > Hi Krzysztof, > > Let me clarify it, in the document a term "delay cell" was used to descript this register bit. Which document? The bindings (I cannot find it there)? Commit msg? > Each delay cell equals "1/32 clock phase", so the unit of delay cell is clock phase. The value user need set in DT just number to define how many delay cells needed. Your bindings did not say this at all. Best regards, Krzysztof