From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A0579C43334 for ; Tue, 19 Jul 2022 17:54:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=iEkIpPvfGco6Zv91fnTzBXNqnmD5mw6l8MM4IhUcIAM=; b=bxC3aaFZFgn8bslv4ajSnp7ODu AkVDe3l8QxPYyj4XBF+hswHhpXuVd5NNGDlqqn6nnPLBK70xNCA4kSdZhGqdqIPD3KKZ49/DbKAix OebpIl3dTLC6NyJF+NzomwYxDBMB1/sH6eK7w/ytpvl7eZGe9lLKRi40OqQZW3cCHbspUx5kBsW9b /8nnIuuejHuFrbS+NREn1jsbrsuSFchlxnwBomfzuCIwuatvI2udidHYj1gtlBIzMEckZC4Hjb/GI Z+/hUKqooIXUQVnUg/9qH397PKfzgdQZKQ4u7kRJLEGkFAOI7w5gIANOCVNn/rp52V5eIhFwk6ZVr C3oXCLbg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oDrPo-00B0An-03; Tue, 19 Jul 2022 17:53:48 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oDrPY-00B01m-El; Tue, 19 Jul 2022 17:53:34 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id EF7DC616F9; Tue, 19 Jul 2022 17:53:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C5F26C341CA; Tue, 19 Jul 2022 17:53:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1658253211; bh=GI+gJxOPyNxkeHfU9ebTLjaH3IEL1Dm94PwYhl9hk6k=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=S4wPcfZb6jg68De5mTy/hkg5epiRO2WAZrtjq8IvGLKyEkLNNRjECSsWheqzbSJkO z2OSXsAFvrm/xt60yBGa2+n24Cp6I5bEcBp10LNjfCJ72IrUhw4OohcW8de6YMEQXX PY5fzBgKHSQ/u9kfD33STL7BIxvzSvZyj+DscB1oLUc2IejZOmu87AdItzFiTZ6jT2 mAQ1r3Dp1hRA9O0ciDd4YyUgmh8E4Hkcb14EctookT9o8MedApGe0cewv1Ney+yH/T OSJ4DURtjjSOhT2z5sG6ViWVNSxZW7A8kpnbgC4/zT6aYd1rtGkTQR+bTk6kn+Msi1 QhiscTJ1aok3A== Date: Tue, 19 Jul 2022 18:53:25 +0100 From: Mark Brown To: "Mahapatra, Amit Kumar" Cc: Amit Kumar Mahapatra , "p.yadav@ti.com" , "miquel.raynal@bootlin.com" , "richard@nod.at" , "vigneshr@ti.com" , "git@xilinx.com" , "michal.simek@xilinx.com" , "linux-spi@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "michael@walle.cc" , "linux-mtd@lists.infradead.org" , "git (AMD-Xilinx)" Subject: Re: [RFC PATCH 1/2] spi: Add multiple CS support for a single SPI device Message-ID: References: <20220606112607.20800-1-amit.kumar-mahapatra@xilinx.com> <20220606112607.20800-2-amit.kumar-mahapatra@xilinx.com> MIME-Version: 1.0 In-Reply-To: X-Cookie: We have ears, earther...FOUR OF THEM! X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220719_105332_603788_E6C5FCE1 X-CRM114-Status: GOOD ( 15.53 ) X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============8506269393077821279==" Sender: "linux-mtd" Errors-To: linux-mtd-bounces+linux-mtd=archiver.kernel.org@lists.infradead.org --===============8506269393077821279== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="goT4hZWVlB+2fFB9" Content-Disposition: inline --goT4hZWVlB+2fFB9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jul 19, 2022 at 01:21:41PM +0000, Mahapatra, Amit Kumar wrote: > I agree, so for checking the controller multiple chip select capability(u= sing=20 > more than one chip select at once) we can define a new spi controller DT= =20 > property like "multi-cs-cap"(please suggest a better name).=20 > The controller that can support multiple chip selects should have this pr= operty=20 > in the spi controller DT node. The spi core will check ctlr->multi-cs-cap= to=20 > operate multiple chip select in parallel. I'm not sure this needs to be a DT property, it's more just something we infer from the compatible. The name seems fine, as does the flag in the controller data. > > the chip selects are available and that the controller can do something= useful > > with them (and probably have an implementation in the core for doing so= via > > GPIO). > Here are you referring to the usecase in which a controller implementing = multi CS > support using GPIO? =20 Yes, we probably ought to. --goT4hZWVlB+2fFB9 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmLW75QACgkQJNaLcl1U h9CJnQf/dhICrU3mfuXOY461g8QV5eETdPaVby8yNx8MlhoRgqDFNvA2zwezWfcJ Vdj2/Q3LEjalNXzquO2TSl0gkTWNWi+QDzBjvETXKV7vKYwm59poI8MVBhqI7N99 RhZyxKvL/6aHGOJP4/WD2/6iQsg1g2lMVb4M0SYM85zZAVJFoA/OuNoBPgGE7jUM ldycb+CE7awq5PS5RNcvtb8NWx/GrLvx+fpGG787yzBH207JvbUY0my2m26k2LCD gsJA7gzrrxbYjaCH+0Tdb5PMSOf5XN6eOvcq3rNq5D9AHQSPojbqLJF1gNWz+iS7 uVUdG/qU6Mm16YocVIgnDpsb31WwnA== =p2xo -----END PGP SIGNATURE----- --goT4hZWVlB+2fFB9-- --===============8506269393077821279== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ --===============8506269393077821279==--