Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2437205rdh; Wed, 27 Sep 2023 02:35:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGfc9kc1qOFQXuUWzbYE9AuWtxI12Ott/mgd7t4Cy7SKUSboH+0C2NVAB3cSppgOuAOMG3/ X-Received: by 2002:a17:903:248:b0:1b8:8b72:fa28 with SMTP id j8-20020a170903024800b001b88b72fa28mr1021618plh.58.1695807329576; Wed, 27 Sep 2023 02:35:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695807329; cv=none; d=google.com; s=arc-20160816; b=nslGcfwATiTYhVrBMH4Y4vtowq9W72rh5SG13o5OcCoQs01N0tkxaEwfsE2mZykHJZ zJ88H1hEhCKOoWH/jBdVlxpV6FXVbdCt05N9BwQDMHgjoAYCZHthaoxSdOXAJEYdmj7E zeuFmbTD7HpiNDaPAq6xf9eJNtVMFnTjnDjtkFKX5reMKnnwVzVzxMekOeIJWVpAK+D7 CkP3PlEXPtZDtBBy/pTPNoZm+HxehkF94x+oWEnIZB10MQF2gpIt4zXjCBY9y/pT4OXA eVt0VT62+/d3FkgG8LoL3m/1sEltpWOhelx2PqRgPK34GuswpoksjfVbJZp5do2z+VJD 46Pg== 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=ZdltV7el+hm/DB49DVW9046aN3xMMjBFbFazjQiVFik=; fh=+D20XI36IRaZlf9+UIsdEZ7B0r6C3Yc/Cz+QCpOl5MA=; b=otyr87IdWmYz1E5F1b7t8tb+/N3p0IJ+Pimp5ahsqQc5vcz++Brp/yrQe5jwVMoGtP BGN79vi1CPMRigxbereNFp9TZK8MksZ6SVo1crSOoc7yp++RJqa6l3Qul3wnUjWQSoYk 1wrtrypyBOSOXACEPiwqwUQ3rW+JrqO6Hv2F7t3rtlw92bFifSwXc5bDGhwY4c8KLc4E WognRyEOA56/EwT2TBfhA4FmuJk+3JTG3d8HhlXpxjdWATAMDcMjMPjI4bEZAIVMCNdb aXKwBzIVbsaXZrQtpoHOcaEprPy7Rk1DIgrdoTWUAiAimk6aSZoy5T0NBMYYHYPfx3le YYJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cpKxZGCH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id f1-20020a170902684100b001bf1d1d99f6si15362764pln.358.2023.09.27.02.35.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 02:35:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cpKxZGCH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 0D13D80FF2A0; Wed, 27 Sep 2023 02:22:47 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230407AbjI0JWQ (ORCPT + 99 others); Wed, 27 Sep 2023 05:22:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48790 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230405AbjI0JV7 (ORCPT ); Wed, 27 Sep 2023 05:21:59 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B4C4A3; Wed, 27 Sep 2023 02:21:58 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 40E62C433D9; Wed, 27 Sep 2023 09:21:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695806517; bh=I448svr5ZDYp4rTesI5QISMQCcJhofO8M8peXBBCVFM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cpKxZGCHxET7gWuWcExH6CsMZ9pfGLXCTxYP/6YtBpQYujCM4n+xPTZfWZt+hhP0+ NXnwHc+pAdxCGnMaHqG/Fe0XfyZ7hnrvR9yUvw5WO7wnbI2+AAbR5mEarzdMpY4ZrU Q29GnboTaxtoij/admCVD36krYP8urbjTRMsMmGABzccsys3ZA/Ny0/47irocy/c1H kwy9x7vYNoO9GgSvezOMjMyX1J+5JH9ldG3965MD6GB6quP81N1kV3L5vIp+dYPh66 aRBHYrFHWg5mxLkDxWgfrWMMQpw32GaL4V4LoXSvjgjHS40bbRBm3cj0Mf5hKGUQu9 2N2HvVBwnyXrA== Date: Wed, 27 Sep 2023 11:21:54 +0200 From: Mark Brown To: Geert Uytterhoeven Cc: Fabrizio Castro , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Magnus Damm , linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Chris Paterson , Biju Das , Lad Prabhakar Subject: Re: [PATCH 1/2] spi: renesas,rzv2m-csi: Add SPI Slave related properties Message-ID: References: <20230926210818.197356-1-fabrizio.castro.jz@renesas.com> <20230926210818.197356-2-fabrizio.castro.jz@renesas.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Pm+YXDPO8WF2t5nM" Content-Disposition: inline In-Reply-To: X-Cookie: Save energy: Drive a smaller shell. X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Wed, 27 Sep 2023 02:22:47 -0700 (PDT) --Pm+YXDPO8WF2t5nM Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 27, 2023 at 11:10:58AM +0200, Geert Uytterhoeven wrote: > On Wed, Sep 27, 2023 at 11:00=E2=80=AFAM Mark Brown = wrote: > > The description is clearly saying there is a chip select, _NO_CS seems > > entirely inappropriate. It's not specified in the device tree because > > when there's no chip select for a device it's a fundamental property of > > how the device is controlled and we don't need any information beyond > > the compatible. > In host mode, it indeed doesn't matter, as you can have only a single > device connected with SPI_NO_CS. > In device mode, the device needs to know if it must monitor the chip > select line or not. > In hindsight, I should have kept the question I had written initially, > but deleted after having read the documentation for the corresponding > RZ/V2M register bits: > What does it mean if this is false? That there is no chip select? > So "spi-no-cs" would be the inverse of "renesas,csi-ss". I see. Is there any control over what the chip select is when there is one, in which case we could just look to see if there's one specified? I'm a bit nervous about a generic property that maps onto _NO_CS since it's likely that people will start using that in device bindings when they shouldn't. --Pm+YXDPO8WF2t5nM Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmUT9DIACgkQJNaLcl1U h9AoWgf8C4m4QGJxKqU2uTMR2OZGAiTjBvZPPRlWk3tOi86FMNdl2y3nyWSLo8Xn wX09m6jOWe9hdlXxeP865u3KMrDvVsHaL8wF8T7jNQc4h7LwGdE2PxsjvWEXS9qL 301JwbJPnR0u3DMoCfv6QzfDsJdw3BWhMgjYsA5fid0cnOjY1BENubwtg5egP5qB 0XbxeqK6/6GGtLIVl4IVobJaJbt76H5jKvXrqUNVskKQg+FfxA2yE6aWRoAcGbVn lQ09uL2W6G57XFRq9r4/R2y9AJWNgFeVmzpKsPSEiA/Yzd6RUHU/UN6mqAKNHgAi VUZMiQi/SpBI7EqDkS/x22F4sENSAw== =CrDz -----END PGP SIGNATURE----- --Pm+YXDPO8WF2t5nM--