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 43E2DC00140 for ; Wed, 10 Aug 2022 13:08:22 +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=b7kMkL15MDB8T8FRyLaUbBjBC4+01/5utFpEv2uRU5A=; b=v8b3lu6wtxfNmtqixvUXA/QMaO HXrl1KOWxSZs5WybBnVQrvrPMQP0R7vS9f8yAUVzE2+V91Yoh6q4lf/jlMlzrSlsZPZHsA1/JXV3l vaDWFtIjBgJDI0vKO4zfg+YO3kWNRwQV/FUlxCDym2il72DbHluSJ+PnzFjBamKZ4d8ROyBOQjnrq x0dNbcxFZ3r31e4cYwEOs2w0snBDVgV66sJS3l2ZqnfgV/WY7xLhGrHCsYGGFFYwxsaZMAM+jvJrm FvMQ0SBzUp0X0/S4b3M4J+rODnFhKTzBjCn1K4+JzdJVCJgyCd0ezrkF1mifGa73191LVGN2LD1vR bHZ4BtLg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oLlQI-00Buhm-0g; Wed, 10 Aug 2022 13:06:58 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oLlQE-00BugN-GD for linux-arm-kernel@lists.infradead.org; Wed, 10 Aug 2022 13:06:56 +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 ams.source.kernel.org (Postfix) with ESMTPS id CBAD2B81C11; Wed, 10 Aug 2022 13:06:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8F51FC433D6; Wed, 10 Aug 2022 13:06:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1660136811; bh=DFYcxkifXKeWtF6+tBZaGptaS5MZmDKyrcXwMH4vbSQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cjw9igqkuWhf0iIB0dISFN8WPn2Pdqse0igBL2QaHIhBUXgORx9+YoGFSYRkWDF6U DeQlP5G1A7u7K/uu0KGYfWc1mca6irazbf+gDohG4kTqb0V1eqZtOz5lwmbh7nB0jJ bRz4BAnreazX2IpuhfcyvI5cRzZCu1sruAR3xo9pC8LNFIetGlYtiiH8yPmRdfUEz2 jkSo1Yo7etVmb9D5kW8omuxoHXDIld2vppvSx4iLiR//DEw4dYXbcz6QNMSIfoHTj/ /c9NvBSrowwEFe/FHTinkwPifCq5XhsEAhi7dP23IS2bbuSRcdDFBWfzMvml6MkRRn 8URZpnbQO+xyA== Date: Wed, 10 Aug 2022 14:06:46 +0100 From: Mark Brown To: patrice.chotard@foss.st.com 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> MIME-Version: 1.0 In-Reply-To: <20220810093215.794977-2-patrice.chotard@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_060654_706263_9B53721F X-CRM114-Status: GOOD ( 15.56 ) 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="===============6307958662015875325==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============6307958662015875325== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="qIGcIJcaVg00Gpny" Content-Disposition: inline --qIGcIJcaVg00Gpny Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 10, 2022 at 11:32:14AM +0200, patrice.chotard@foss.st.com wrote: > Signed-off-by: Patrice Chotard >=20 > v2: _ use parallel-memories property > _ set auto_runtime_pm to true > _ remove pm_runtime_*() usage in transfer_one_message() callback > --- The changelog should come after the --- so that it gets automatically stripped out by tooling. No need to resend just for this. > + /* > + * Dual flash mode is only enable in case "parallel-memories" and > + * "cs-gpios" properties are found in DT > + */ > + if (of_property_read_bool(dev->of_node, "parallel-memories") && > + of_gpio_named_count(dev->of_node, "cs-gpios")) { > + qspi->cr_reg =3D CR_DFM; > + dev_dbg(dev, "Dual flash mode enable"); > + } Do we need to add something to the DT bindings to indicate that parallel-memories is valid? --qIGcIJcaVg00Gpny Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmLzrWUACgkQJNaLcl1U h9AkJQf/Y+IYz/LCzWBub55CWbzvK9ruoENfm9CuX6uNA/3NAwmONWNa9ggB08wO 4TujrybikyjoRk1vZ7QNKx49cA/4npKx0vDeAplPuSSKKJYQJjIfcOBfYpVkurqX w9mj2AptUhV9ZCc5wcasgXSz6uIvyl/RtyKjCc7o49laJq/pyEEgPPpH/hKaO+jH lZM8oIHqlZcWxdhL5p0XDFPpZd2sbiFeY714yWVh2kX/bSx8DFNU8Y+NJ43gkgEH 5duFoaAQp9i2IfaoBT75NZgKUhiR+mmF+ujsc+7GMXbqp1ekFX3V6ynW7BavXs+X Nh/xQwsJT6MvqILv4XCxHvVbWs48BA== =p2wA -----END PGP SIGNATURE----- --qIGcIJcaVg00Gpny-- --===============6307958662015875325== 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 --===============6307958662015875325==--