Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp589012imw; Fri, 15 Jul 2022 09:04:45 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tIBosLIkmpgmWM7Slf9J7SePuMj8cxvPJFhIXDPyhZ73424xC4muDDGL4z30ByqfpDSj4t X-Received: by 2002:a05:622a:144e:b0:31e:ce97:374a with SMTP id v14-20020a05622a144e00b0031ece97374amr10741551qtx.539.1657901085063; Fri, 15 Jul 2022 09:04:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657901085; cv=none; d=google.com; s=arc-20160816; b=YIFGClwDA4ho2IgGGXNnoXwGDQwXYS1nYG5x7zW5E5c7o8D41DL95ydsng/8Q0f9YJ pFGwy5piJ1DmDHgDnCU7ZPchZ8CAArv6Cg2ar0uo0ZCLP78BZr3xERuoxHGErjOlyi1s 9IFFZur9k0xNWtSScewVEg4l9Ps+j9E9PayzfV4fHFJbWXj5W7KsQ2QyduPS2M6BQjsc hedLrWK2/9AubS8qaYTCHbMpDsRcj4uGp49tz4vUEHXcckHWJjfh1lrK8sOYt5dQjK98 rbHqUsHzvqpK8USGcHkY1609NSMXzUNiZont1fWmX5b+tY6JrNiRuTMsKj+yybqCUJSE VHag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=PYYHti5yl4UtgPN2Je39hkZuM/1+LLW7Xys9I3S+QNc=; b=buVosev0QsfJ0tHCQu2zssGYzpssKKFdxbVnpc6cJ1Ra89j77TLNd3G5xsdHjcAc+H /qmmnYbfqg3NuF/fYA7WRvs1x9FvA67gRXtzqrLTQtpcaOhSoGBoiHJ6FigBQrxt1qDh oSrPuxRmKn1fvz8ZsfHn6x4eSxAZAFU9Np3pdQr+9geKk9ky9mX3AWf/E2jMUQnn7Jwc bU5YoPt6SUSNWj6TlnbIvB/QCC0/aovMAUyKigiGamJMe0SQvJ3KydQj6+vlGe6c9C7z vl9LhZuzUjm3m+OLTs7xWeyMwWdaZC7HPY8C4cDj2UCje60BarspN9u6A6+/VZaYhSkz /sNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dadoHH8C; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t128-20020ae9df86000000b006b57d8d7b6csi2620533qkf.360.2022.07.15.09.04.29; Fri, 15 Jul 2022 09:04:45 -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=@kernel.org header.s=k20201202 header.b=dadoHH8C; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230014AbiGOQDl (ORCPT + 99 others); Fri, 15 Jul 2022 12:03:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35712 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229778AbiGOQDj (ORCPT ); Fri, 15 Jul 2022 12:03:39 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D442FC8; Fri, 15 Jul 2022 09:03:38 -0700 (PDT) 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 0C6636216E; Fri, 15 Jul 2022 16:03:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 66131C34115; Fri, 15 Jul 2022 16:03:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657901017; bh=jrlFeUIlmq6USCDUyOFysJvOq822JHFZZ7Z40MxY9qw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dadoHH8CNpbJL21+f44Epd5J674JaHKpzitYi5Yt6EmFV684hfkDRo+FU0AUmtQqS z1+Hz1CQ6Pw7Y+OIeVoXKvDwcNmTI/60tTPCQ8DFUG/j8lkQnjDvcE94j18yHU/By2 Phhwo4EiJ/3/rQz9AuknKwC9JQR0+oZh5Yls6JEYUch/QOKB1zjBpeTlsPpc3MAnEK WQ1wuH8tWlBKZemmAsiWSaQW3jCKJAkMbHD6WfEpsc7lryOKiga4QG0/3uAqnFeGgF pKQuDymcNVqLw8AZQNAgogELOmcLaCvQoV/n3JomfnruEUbYSGz9jwTWulu9U4d4yp ETqG4+zPC0Crw== Date: Fri, 15 Jul 2022 17:03:31 +0100 From: Mark Brown To: "Mahapatra, Amit Kumar" Cc: Michal Simek , Amit Kumar Mahapatra , Krzysztof Kozlowski , "p.yadav@ti.com" , "miquel.raynal@bootlin.com" , "richard@nod.at" , "vigneshr@ti.com" , "git@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> <40110ff8-5c19-bc54-759b-a51a919788eb@xilinx.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="DxORmGk94Y1lYeUm" Content-Disposition: inline In-Reply-To: X-Cookie: You dialed 5483. X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 --DxORmGk94Y1lYeUm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 15, 2022 at 03:36:23PM +0000, Mahapatra, Amit Kumar wrote: > Thank you for the clarification. > As per my understanding we would not be needing a new DT=20 > property for expressing multi chip select support in the driver. > We can use "num-cs" property of the spi controller for=20 > broadcasting multi chip select support of the driver. > If "num-cs" value is greater than 1 then the driver can support=20 > multiple chip selects. That's true in some sense but not in the sense of being actually able to use more than one chip select for a single device. If the controller hardware manages the chip selects it may not be physically possible for it to control more than one chip select. While it's not an issue for the bindings even hardware that can physically do it is going to need a driver update (in the core for GPIO stuff) to do so. --DxORmGk94Y1lYeUm Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmLRj9IACgkQJNaLcl1U h9ASdQf/ca/l2sFbQii/WohGkZhhQqY8tP78zj73reO3O08IgMatkP91Qg1cm/g4 C9lTmIC/jAtn3id4aXNkli7H7ZJhq8dOfzd+O5T32FIULoAvLJUnyw6roTsncRul RUooo3/llgKSEX9sZ3w/nfOoyBg49Sj/n6hkxuvIIj33Cys2E8y5JzXiVbEyFCkh Q9amQxSAa4p+jyDj4zQ1MtY4J58LsepXJkU+E1F/8HuJHieKxChblZKC4LCGwZ2k UWVdCUxSTg25IpkLJLrjbJBRuwuwJl9ZGTeDj78Sf9OM/x1vbkgKPwk5RVGioKMV vWkEa2d0/0ioERCpoUjzCYH27X8bxg== =AYb4 -----END PGP SIGNATURE----- --DxORmGk94Y1lYeUm--