Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp4985915img; Tue, 26 Mar 2019 23:01:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqzjyBzJ86oK429U/eXVj31aVrmvDngcDjGU3BMklWV0P3TerPCZ6+wT26Tc5pZgTteVtQL2 X-Received: by 2002:a17:902:e48f:: with SMTP id cj15mr33276953plb.256.1553666470844; Tue, 26 Mar 2019 23:01:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553666470; cv=none; d=google.com; s=arc-20160816; b=RSbTZFk/h9Xq4qTSB54n6Wx1Hy0qSdyQy7itOOomX5SzripVU9OKvyscy9ZarazbP4 kU5Qws5xWGZRoU7Irt0ow+X7UJNxWYujp7cRtum+fptB+raOnukLQGHaU7px0a/G+Yf5 a1T6gu9Y+54FVqYDXcBPI7jvgMEaSbxT35Q/sIjnBfZIXMOU6QLDqIT9yNURSTds2I+V sYRKAnwKnx3SFntjgBb9G2hTgbj/U+jhL21vxNJshbgzZzcHlhqU4S90ZfHbXe0Oks/C +qy/I3qMXwpHWX7Cc5rfiuuyDu47xHyN9v6mOUXyAAPO8iZXv1nc6Am+Ckb+dgBfDg2f 3RUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=67I6AaC4ngckZ9dNOWLljlBwDdPsmFJo/A1awY1Cra0=; b=1EWAOh8DOTBmbBi/f7bInalTYPgoabiboEKLdzrocQ25T3JZvu+J3tcSVLYbbrRnPa R5F3jtoqaiC6rwrUoWjBpe1DNvW3PsGy2EnuCSfwY5fiIwu+YEU3GySornt1sEdfHeoz oGtKwbjVeFH3XstWa4QsgAYnV/pcXUR30gIwasrnN+OMkK8bag2nXU4D5GT/3v5n6Yc3 WVR5z/kZbcsYYIOdCRvXQXqoJ384jQejqsGjSqNEwxfrY3PHasYTsP+POU0BO/KiU3AS Oar9wEe3SpJjKv9KwZc45lHUriWgIItxKZtnCKx46r9XEXXbecL/7ubdscSfhxZQZydH HGDg== 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=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d40si18975112pla.114.2019.03.26.23.00.55; Tue, 26 Mar 2019 23:01:10 -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=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387504AbfC0F62 (ORCPT + 99 others); Wed, 27 Mar 2019 01:58:28 -0400 Received: from hqemgate16.nvidia.com ([216.228.121.65]:6258 "EHLO hqemgate16.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733221AbfC0F5f (ORCPT ); Wed, 27 Mar 2019 01:57:35 -0400 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqemgate16.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Tue, 26 Mar 2019 22:57:33 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Tue, 26 Mar 2019 22:57:35 -0700 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Tue, 26 Mar 2019 22:57:35 -0700 Received: from HQMAIL112.nvidia.com (172.18.146.18) by HQMAIL101.nvidia.com (172.20.187.10) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 27 Mar 2019 05:57:34 +0000 Received: from HQMAIL101.nvidia.com (172.20.187.10) by HQMAIL112.nvidia.com (172.18.146.18) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 27 Mar 2019 05:57:34 +0000 Received: from hqnvemgw01.nvidia.com (172.20.150.20) by HQMAIL101.nvidia.com (172.20.187.10) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Wed, 27 Mar 2019 05:57:34 +0000 Received: from skomatineni-linux.nvidia.com (Not Verified[10.2.161.83]) by hqnvemgw01.nvidia.com with Trustwave SEG (v7,5,8,10121) id ; Tue, 26 Mar 2019 22:57:33 -0700 From: Sowjanya Komatineni To: , , , , , , , CC: , , , , Subject: [PATCH V1 19/26] DT bindings: spi: add spi client device properties Date: Tue, 26 Mar 2019 22:56:40 -0700 Message-ID: <1553666207-11414-19-git-send-email-skomatineni@nvidia.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1553666207-11414-1-git-send-email-skomatineni@nvidia.com> References: <1553666207-11414-1-git-send-email-skomatineni@nvidia.com> X-NVConfidentiality: public MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch adds below cs timing properties to allow SPI master configuring setup, hold and time interval between two SPI transactions to meet specific SPI client device requirements. CS setup time CS hold time CS inactive delay DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1553666253; bh=TbJVgRAIkjok3TkKNkfcvYc4WGyZhOpiH6sUZvadGrQ=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:X-NVConfidentiality:MIME-Version: Content-Type; b=Tud9guY5XCzkjKA2k2n0+xO/vTfMTNhH1e0viAyYmlgoG/j+uSBAAmOeZucVUlmEa rwqxlSm+rkYMUfgSWqmJXqEjgRIAqMhA32FOJmhgpblGwYUR22hnbdhbk4TcqMNsIO mXBgiIq3sOB7dKCDIv4+YSUreRrnXrvrDN0NE9zN7D+AQWYLF5dI4v+UDalNYJU2hz TusNrURxuHgtpModvYVQRPgPDv+nJ2QE6L7yZH/M6XP7jYprtQHWnHAiMwqqSXBcrf 8vlhV96anQSaGkioOUTp8ThlHSwBKLRFHRofVlrhT53K0xvTCvVst4aHvA1aq3QPw0 sVr25yohIPq7w== Signed-off-by: Sowjanya Komatineni --- Documentation/devicetree/bindings/spi/nvidia,tegra114-spi.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/spi/nvidia,tegra114-spi.txt b/Documentation/devicetree/bindings/spi/nvidia,tegra114-spi.txt index 9ba7c5a273b4..6167c5234b64 100644 --- a/Documentation/devicetree/bindings/spi/nvidia,tegra114-spi.txt +++ b/Documentation/devicetree/bindings/spi/nvidia,tegra114-spi.txt @@ -23,6 +23,13 @@ Required properties: Recommended properties: - spi-max-frequency: Definition as per Documentation/devicetree/bindings/spi/spi-bus.txt + +spi-client device controller properties: +- nvidia,cs-setup-clk-count: CS setup timing parameter. +- nvidia,cs-hold-clk-count: CS hold timing parameter. +- nvidia,cs-inactive-cycles: CS inactive delay in terms of clock between + transfers. + Example: spi@7000d600 { -- 2.7.4