Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp316281yba; Sat, 30 Mar 2019 23:43:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqzzHP96ugRBA08zJ1NghqYaXYRtq1o/i3D4adnyftZ+wCzjDDDU+vpjJM/0A3+pvtEOdPF8 X-Received: by 2002:a17:902:8a8a:: with SMTP id p10mr140861plo.8.1554014638165; Sat, 30 Mar 2019 23:43:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554014638; cv=none; d=google.com; s=arc-20160816; b=UrHJ9ApoqOUpb/2qA99Mmvgh4r3byVNiimg0Ohe8MlkcaqCgbE38OEndTZZcMVanEJ 5Ri3xpJODKxiuIk/239ACnCsOvUP+PKCkrMoEV08HTBtB+4K3Gi8ioNXmEBg0QR0DYJv WKo/4ZLUXM/yDsxz5T4+4rgSH4n7ui2clfCXou0GuZNtR2N8QRH5jY7Cq0U6AIezJfxM nkoJ49prd2tEnGIpgX+xh8d5c3TUoQ6ZqRO1QGdybEIh+j0nM79Eii6AAy35k3voGPxs y5l5NUUFTuYsd3XetUW9PElw+l+0Agz1KPHTY3HVxx+tp7iItz13XSWYGAWvUsv8IvEM jqQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:subject:cc:to:from:date:message-id; bh=6oOAYgYtzPk0QpjliWGYPy3dmhV52PrxzaNtGHozpe4=; b=x3vjbn7pMPc+z7fAnZ39T6LhLbPjQlkjWxchrBSRf2t+Tq1pvKgqQxkupciCm+10k3 iCZMt36QVxrplGruPcaqf9fihM3ucJBc78QZ1/0VCg/wEz/fl87mpDjy5YkUaVUpITJr mUEW8XNv9GaIFAOvudbb4KUwIn99pcJJ08SHcsfaFCH0/rQOdE6GXb2XVn6WWhDPByU9 4lmgvhFWe2/1GbiJYb0+fE/sp+fpa+uUIKJIR5alR/MVvQG1sjo9quFAZ+bsYlzh09OD sn6eKrxcC9JSBeQpa+/fBh6Soair/7a07UsGdaXngZdfOShV8vFiILYBrdaOpktrQGid Z++Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v145si6128003pgb.16.2019.03.30.23.43.43; Sat, 30 Mar 2019 23:43:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731496AbfCaGmd (ORCPT + 99 others); Sun, 31 Mar 2019 02:42:33 -0400 Received: from mail-pl1-f194.google.com ([209.85.214.194]:46960 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731480AbfCaGmb (ORCPT ); Sun, 31 Mar 2019 02:42:31 -0400 Received: by mail-pl1-f194.google.com with SMTP id y6so2922650pll.13; Sat, 30 Mar 2019 23:42:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:to:cc:subject:references :mime-version:content-disposition:in-reply-to; bh=6oOAYgYtzPk0QpjliWGYPy3dmhV52PrxzaNtGHozpe4=; b=THyXxz1Y1K1OfCTXaHvec7SHILsyt2aJrD/N2GO1cQFdkJcyRdwdVZfbXJ6fcUJc/g G6XCSfAyf8h7zuBeJ2FWKBPQDI14vbdASpNx8n8aTQ4TgXWo4F6CRsOGBS517YcC5+Qk AAUBAJMxMWQOS1Ip9lbXEixuXl/14ksuVyO3Tpm/PugEswH4fJR0YDmnEAbjrfLZg7ey xzgGRqwFjoLPmhJW8xJgFNZIUq3uAcrEHBjnb4lQRxXYAzk9CCks45DozhxImFfd476q wkqXCYCLD8V0e1t+cZgD6akl8XfAMG42Sz7ssLJxZvIBpwnP/JteEv6G3DzK+H1/VAhQ 4xmg== X-Gm-Message-State: APjAAAXgm4+U7MVTGvK4nxsKYzFHaMzGva6FbMapjaoNCwc/SbmgBc2b kbKB2j96UZhcKepdio5/mw== X-Received: by 2002:a17:902:2947:: with SMTP id g65mr57597123plb.258.1554014550178; Sat, 30 Mar 2019 23:42:30 -0700 (PDT) Received: from localhost ([210.160.217.68]) by smtp.gmail.com with ESMTPSA id d129sm4074365pfa.142.2019.03.30.23.42.29 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 30 Mar 2019 23:42:29 -0700 (PDT) Message-ID: <5ca06155.1c69fb81.60281.9b59@mx.google.com> Date: Sun, 31 Mar 2019 01:42:28 -0500 From: Rob Herring To: Sowjanya Komatineni Cc: thierry.reding@gmail.com, jonathanh@nvidia.com, talho@nvidia.com, broonie@kernel.org, mark.rutland@arm.com, kyarlagadda@nvidia.com, ldewangan@nvidia.com, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH V1 21/26] DT bindings: spi: add tx/rx clock delay SPI client properties References: <1553666207-11414-1-git-send-email-skomatineni@nvidia.com> <1553666207-11414-21-git-send-email-skomatineni@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1553666207-11414-21-git-send-email-skomatineni@nvidia.com> X-Mutt-References: <1553666207-11414-21-git-send-email-skomatineni@nvidia.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 26, 2019 at 10:56:42PM -0700, Sowjanya Komatineni wrote: > This patch adds Tegra SPI master tx and rx clock delay properties. > > TX/RX clock delays may vary depending on the platform design trace lengths > for each client on the Tegra SPI bus. These properties helps to tune the > clock delays. > > Signed-off-by: Sowjanya Komatineni > --- > .../devicetree/bindings/spi/nvidia,tegra114-spi.txt | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) Just combine this with patch 19. > diff --git a/Documentation/devicetree/bindings/spi/nvidia,tegra114-spi.txt b/Documentation/devicetree/bindings/spi/nvidia,tegra114-spi.txt > index 6167c5234b64..2b84b7b726ce 100644 > --- a/Documentation/devicetree/bindings/spi/nvidia,tegra114-spi.txt > +++ b/Documentation/devicetree/bindings/spi/nvidia,tegra114-spi.txt > @@ -29,6 +29,12 @@ spi-client device controller properties: > - nvidia,cs-hold-clk-count: CS hold timing parameter. > - nvidia,cs-inactive-cycles: CS inactive delay in terms of clock between > transfers. > +- nvidia,tx-clk-tap-delay: Delays the clock going out to the external device > + with this tap value. This property is used to tune the outgoing data from > + Tegra SPI master with respect to outgoing Tegra SPI master clock. > +- nvidia,rx-clk-tap-delay: Delays the clock coming in from the external device > + with this tap value. This property is used to adjust the Tegra SPI master > + clock with respect to the data from the SPI slave device. Are there units? What's the range of values. > > Example: > > @@ -45,4 +51,14 @@ spi@7000d600 { > reset-names = "spi"; > dmas = <&apbdma 16>, <&apbdma 16>; > dma-names = "rx", "tx"; > + > + @ { > + ... > + ... > + nvidia,cs-setup-clk-count = <10>; > + nvidia,cs-hold-clk-count = <10>; > + nvidia,rx-clk-tap-delay = <0>; > + nvidia,tx-clk-tap-delay = <16>; > + ... > + }; > }; > -- > 2.7.4 >