Received: by 2002:a05:6359:322:b0:b3:69d0:12d8 with SMTP id ef34csp213514rwb; Wed, 10 Aug 2022 07:13:01 -0700 (PDT) X-Google-Smtp-Source: AA6agR5Yxn84kZ0vOdfyVNUWxd88P/mJ+mKGc5G6z/9k/GlKdSHV1gVHsIHIAiGS208HaQfhEhIN X-Received: by 2002:a4a:b306:0:b0:425:8afc:a3d8 with SMTP id m6-20020a4ab306000000b004258afca3d8mr9727129ooo.47.1660140780770; Wed, 10 Aug 2022 07:13:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660140780; cv=none; d=google.com; s=arc-20160816; b=WKnUTF15AgjzpQA2ol0dF0xqFKLFtkoty9nk9a/MJuoS8axsDZ/IFI/l9QqaYZmeV9 gFg8VyPvEatGEtl/san4KrvGh7PljVWETV7/NwQxxwU2AGyOfEVHhgwxBauCCxhHAHa0 ozr9VJsPkesRUPIOkXatnpDZzQdX8q483aSvJBoz077XoBVGCL4KwPhxMUQ2en8fG7py uqnaIDXtdS+dQPkTkO9aa/HVqCWRXoPVL/vqkBab4rKYErKPgWDv58nPSp6tGVM6xncN 79gakUbx4Vpr2eNiybnS7i05OyeML8Ua0K94mkMPgvxCE3octzIfhDJx/FvXB3VEFzi3 ud8Q== 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=nxMf00WKWIVUH/Vr0RO3sqkt9IyGjaOY1dHpV9hWrTY=; b=QgQMR6263aLQJveKY4Efpexslb7EF8veZ0flFKr1j/tPN3jMyeM8eMIK+ZCNZmWkfW wHgsj2Vzyi5cQk9hLP6/nOJB5aNPk9F82H+JXFEyXkX57r/5aF8rbtniTt+jj4n/A4jm sVxItibmLmeCSD+icqDFuSPTMNJRbQZutry/TCg/aJRAz4sj4wbiSbLoTGMYre2h7OPg Rm4pXjVxnPRPkuKRC2d5W/5sX4bXoVCuVrPaF8qFYz6Ys4gN6ZBrytCoJkhSEndoVa0G i+xW+WVKUzsR97/E0rJsqCbmtSq/E9C4WoorzCDS5YHzhAivnreUIjvjQzQTVhZQVk7U tzAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cjw9igqk; 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 b14-20020a056830310e00b00636a29d09dfsi1945903ots.167.2022.08.10.07.12.47; Wed, 10 Aug 2022 07:13:00 -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=cjw9igqk; 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 S231300AbiHJNGz (ORCPT + 99 others); Wed, 10 Aug 2022 09:06:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231646AbiHJNGx (ORCPT ); Wed, 10 Aug 2022 09:06:53 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B691B792FC; Wed, 10 Aug 2022 06:06:52 -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 1805C61449; 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 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="qIGcIJcaVg00Gpny" Content-Disposition: inline In-Reply-To: <20220810093215.794977-2-patrice.chotard@foss.st.com> X-Cookie: First pull up, then pull down. 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,T_SCC_BODY_TEXT_LINE 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 --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--