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 0B088C00140 for ; Wed, 10 Aug 2022 13:42:24 +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=NGbyUUpuWocy2OZ+iUgKzyvrB9jtzhoVqISTjR9C9eQ=; b=EFWRcrVNAWU2XbRr6d3pv10Lgq 3lwl/XsXcs1xCdkT5BiIEkxwj2JNxpERJNjWLslK31yT3Jfr7xXuG69gjPb+Gi/BoB9/W+xO6wQrj Xdb1QNKnmMCFODCkwRiNGKpDYpfDUPMf0c08tym2KVo2jJJaDnDW+Lhsuw5Igd4TH/sUJx/fYqI9R fcGq++v+ofPWHEyfro52XPtJw7StpJenefFqvWCtlrKBng8wqnqziPHtJ9vQLSbAly0aeQA2N1lZz B3zDGwZ+JOU/cLNJhx0lJDFInh0rR0/3qrVAqCDEBkCljGBQXvpLbf4lEwktA6ce+jrJl0L0dADDz ex2mS6+g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oLlx1-00C5vE-Ny; Wed, 10 Aug 2022 13:40:49 +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 1oLlww-00C5rw-6K for linux-arm-kernel@lists.infradead.org; Wed, 10 Aug 2022 13:40:44 +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 BE35F60FD7; Wed, 10 Aug 2022 13:40:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8A988C433D6; Wed, 10 Aug 2022 13:40:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1660138840; bh=wLk5bRUV/7zoq0ykHRoJu6VMP/9stZ4NhAOjcjRvdhU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=UfTKxEyXYWHbIKp5OFyPWVgJ4+pDpCPoy1i/b/7uwS+iC7Pcj4Pq52DfHnt1BfWC4 0wY8qwELzASM7xo0DpkVnjcaQVVNlfU0T/NgL3yaEYQj+cbrdvpVWw1WUGNOxrnD2z OmB0S3VZn0165sjNrC04uOHXcoezAPz/2kO/FpybOXoHUSq4ZMxe5zlB7R0nrsH3HY RyPAV+dsSlxcl6MYa6oxCmnEOJqEb6OOSpjOOFZKPSPK+f5oVytfFbVJ671+FfDmDZ shJb6IrXXf7YrqiZhN3x+UQFfzgAfgU9lJUJRiVoYTS5uE//bquI1OtdtFY8ltiNu3 kP8v7xEHOrcCw== Date: Wed, 10 Aug 2022 14:40:35 +0100 From: Mark Brown To: Patrice CHOTARD Cc: Alexandre Torgue , linux-spi@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, christophe.kerello@foss.st.com Subject: Re: [PATCH v2 1/2] spi: stm32_qspi: Add transfer_one_message() spi callback Message-ID: References: <20220810093215.794977-1-patrice.chotard@foss.st.com> <20220810093215.794977-2-patrice.chotard@foss.st.com> <38200a6f-fdc1-fa94-7bc6-91ca528235ed@foss.st.com> MIME-Version: 1.0 In-Reply-To: <38200a6f-fdc1-fa94-7bc6-91ca528235ed@foss.st.com> X-Cookie: First pull up, then pull down. X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220810_064042_339937_8763F114 X-CRM114-Status: GOOD ( 17.86 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============3590934383600180742==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============3590934383600180742== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="21y0RXUsptdj3o80" Content-Disposition: inline --21y0RXUsptdj3o80 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Aug 10, 2022 at 03:31:59PM +0200, Patrice CHOTARD wrote: > On 8/10/22 15:23, Mark Brown wrote: > > On Wed, Aug 10, 2022 at 03:15:08PM +0200, Patrice CHOTARD wrote: > > Yes. Though I'm not clear if the bindings actually want to enforce it > > there, it's a device level property not a controller level one so it > > might not be something where controller support gets validated. > Ah yes, i see, parallel-memories should not be used in our qspi controller node. > So i can't reuse parallel-memories for my purpose. > So i need to add a new proprietary property at controller level as done in the v1 ? Can't the controller figure this out by looking at the properties of the connected devices? You'd need to just return an error if we ever triggered transfer_one_message() on a device that can't support the operation. --21y0RXUsptdj3o80 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmLztVIACgkQJNaLcl1U h9B5Nwf+LqqU0x5SAVtWEAkovEh2F95cA6yjgmiKu5b4XJoJIIkHIi8Hym6frbxI /Dr2p4xqVytxvWo3HeH1mc/utjZ2nogSlwgODbdIsIW9pCVdZqdIckw/Bxc7u4nF /sqKHA8I8UwKqgFNeEAJtLRSOvm55KPe8UrjjFXgxB3yEFLrm0jgS9ULBXNpv9Mf W7+hbsbmtgOhkHeh9qpWExwBx/y//jLxQ8h/D0UT9F2A2TgiXMaKUeX8du0Z+PLr HD2BB2+vm3Bq/YprTBNGp/zyFdg/ESuWfhlmG041cW0CxPKFTGcr9Oz2qEtV8TYY fhc72oFs7Ylf8lrTOVN1FuQ+cH6GPg== =f5sp -----END PGP SIGNATURE----- --21y0RXUsptdj3o80-- --===============3590934383600180742== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============3590934383600180742==--