Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp6620882yba; Tue, 14 May 2019 10:32:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqx4vNrg90ItD/I3jAfWGKjHFxCVnfPriaQPAUkdnm22nGz3RJ8MzbI+RXHJLQDWKlalZ/rY X-Received: by 2002:a17:902:446:: with SMTP id 64mr38203541ple.322.1557855161409; Tue, 14 May 2019 10:32:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557855161; cv=none; d=google.com; s=arc-20160816; b=x6mnmBL3BEMCHLhOgBMZXkjMPZCoUffkhrx1HHDGJvPdFKz7koBN6T76l/h+0PGw4n C0OIYI04NmHddEoIC0EWNKRG54ygaEmHAkTM6mKEvbSepmPiZxSmzCvrDbk5ehFev7vX cOak/DB66zZRFh61E/CvEaj2u/hw39eyN79oZERLrPwAvYLgKAviEKwUMwNXp1wrxTMt 0yRnr0p+Bt0i+OChqJXiBgWOQ04n+tl34W/Utyz/AUOkh99FwFPU5PnFKOJixH6Lej6n i2zFGIKIZH/+r0uuNexyGPAgeZ7cTLJ4igHbi+WbfzrqJXPw3y1kUiNpIeezguVOjErX UBtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=YMzIdisAdXm/iBe7klK+iK4HBjCqpEJXQXlJFqH8UK4=; b=TXHTRtNKkRGR3+RShLFvFNlx0ozBHNUHeIE0LjYtMEkAj0AoalOEzHzFbaC41LmVoc wJXcs3O8QkvQlBpnOOYqwnpCIkh3kvIQu2Bp+ZKRQLIXp9NCE1x4Ow2Heh4Mru4xxejC iWJoh3Uuf712uUt786rK8F4ZjDwFolOx3Gx/qm8xIhFZzZLybSKzpfrnpp5nAt9dDgaV 2PcPwPKGSI6KZLaz3O4PqYWbUIS77RO+Kd9cvfsDvQ8rfmR5oqVGAcH6r30ol7uAKE2c nvTvwM/ESsSo+7D9tUiX77Jfm0vZxCoXZEwy9uz8YxX90DGxAHRfq4UgdCYKPWPy6c5N W9Cw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=gQ4mmKhZ; 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=pass (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 g89si7470089plb.362.2019.05.14.10.32.26; Tue, 14 May 2019 10:32:41 -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; dkim=pass header.i=@nvidia.com header.s=n1 header.b=gQ4mmKhZ; 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=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727001AbfENRbX (ORCPT + 99 others); Tue, 14 May 2019 13:31:23 -0400 Received: from hqemgate15.nvidia.com ([216.228.121.64]:16862 "EHLO hqemgate15.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726013AbfENRbX (ORCPT ); Tue, 14 May 2019 13:31:23 -0400 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqemgate15.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Tue, 14 May 2019 10:30:42 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Tue, 14 May 2019 10:31:22 -0700 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Tue, 14 May 2019 10:31:22 -0700 Received: from [10.21.132.143] (10.124.1.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 14 May 2019 17:31:19 +0000 Subject: Re: [PATCH V5 1/4] spi: tegra114: add support for gpio based CS To: Sowjanya Komatineni , "thierry.reding@gmail.com" , Laxman Dewangan , "broonie@kernel.org" , Krishna Yarlagadda CC: "linux-tegra@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-spi@vger.kernel.org" References: <1557810235-16401-1-git-send-email-skomatineni@nvidia.com> <1557810235-16401-2-git-send-email-skomatineni@nvidia.com> From: Jon Hunter Message-ID: Date: Tue, 14 May 2019 18:31:17 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: X-Originating-IP: [10.124.1.5] X-ClientProxiedBy: HQMAIL104.nvidia.com (172.18.146.11) To HQMAIL107.nvidia.com (172.20.187.13) Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1557855042; bh=YMzIdisAdXm/iBe7klK+iK4HBjCqpEJXQXlJFqH8UK4=; h=X-PGP-Universal:Subject:To:CC:References:From:Message-ID:Date: User-Agent:MIME-Version:In-Reply-To:X-Originating-IP: X-ClientProxiedBy:Content-Type:Content-Language: Content-Transfer-Encoding; b=gQ4mmKhZyNlgdguwb9bbNJsU0Szqa8kxB0u4uuv+dG/N8ZNCl2sNpGr5lFDGjEb9u VjIeol9dtPEbd2ThkKPE360AMOq7VF4yIGU7PvqEplkl56uxlmI1vynbDyqF76kjlV KqN8ihk2h8L/RgSmn6aduGrzKzd9YGpgqlPtU3Oz9Pmhizij1RVUg/STUnPWXUvO+b WS7nCDJ1/D4G1k5dyccxHTuWaJwShr5GsZWka3/brIimwaVEMKsCJHRl52ZWHCHGwq zyVzlo3nv8MFzggasbtFaFxUZa8xkZqihYHa4bbErXgPgXdwl1TYhiuS1RAzss6+W8 rsvGGyykdvV6Q== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 14/05/2019 18:18, Sowjanya Komatineni wrote: >> Subject: Re: [PATCH V5 1/4] spi: tegra114: add support for gpio based CS >=20 >> On 14/05/2019 06:03, Sowjanya Komatineni wrote: >>> This patch adds support for GPIO based CS control through SPI core=20 >>> function spi_set_cs. >>> >>> Signed-off-by: Sowjanya Komatineni >> Can you elaborate on the use-case where this is needed? I am curious wha= t platforms are using this and why they would not use the dedicated CS sign= als. >> >> Cheers >> Jon >=20 > Tegra SPI doesn=E2=80=99t support inter byte delay directly to meet some = SPI slave requirements. > So we use GPIO control CS in parallel with a dummy HW CS and use inactive= cycles delay of SPI controller to mimic inter byte delay. >=20 > Currently we don=E2=80=99t have specific SPI slave on upstream supported = platforms but considering raspberry PI header where SPI I/F is exposed to p= ins it allows user to connect any SPI slave and this helps for some slaves = that need specific inter byte delay. Maybe add these details to the commit message so that it is clear what the motivation for this is. Thanks Jon --=20 nvpublic