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 X-Spam-Level: X-Spam-Status: No, score=-7.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 25476C47096 for ; Thu, 3 Jun 2021 11:56:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 07E0460FE9 for ; Thu, 3 Jun 2021 11:56:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229961AbhFCL6j (ORCPT ); Thu, 3 Jun 2021 07:58:39 -0400 Received: from mail.kernel.org ([198.145.29.99]:43892 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229800AbhFCL6i (ORCPT ); Thu, 3 Jun 2021 07:58:38 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 652D860FE4; Thu, 3 Jun 2021 11:56:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1622721413; bh=yNyMKERABSuu0uUxGjPMgn/EQtMIGsB3x1zSWqeIYm4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Mvr4JeHEggGsMJf2lVgTV3NIpJk0wLSyFH/pvEep7xiSRT3JNGsr/wKeYSdBOVRbu vKQEKj8aeRpjlc8Z3Jn6w2CVj29Sj00IUpkNAKz5G62NHF7GR/t1yIvEEssoFl3X6x Nfa4e5n/72UzeT/Qv61RL0rEJODVcgipZieZLBa8QY1a4uxbDqnA6bQYrgYSV1js+Z Z1vA/HWXKiEpoZNnpasLJwXMblSzWvL9AcObQNjd4UaeFtg0VDV0l298XyULStMYLW b2B8ky1OE7ZvrBm/9NG0xGrTKUhXXmA/ITMD0w+mYWTFhJubvd+SS0EjLnxlIA6p4e kGoibRb6R4IoQ== Date: Thu, 3 Jun 2021 12:56:42 +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: spi: stm32-qspi: Always wait BUSY bit to be cleared in stm32_qspi_wait_cmd() Message-ID: <20210603115642.GC4257@sirena.org.uk> References: <20210603073421.8441-1-patrice.chotard@foss.st.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="w7PDEPdKQumQfZlR" Content-Disposition: inline In-Reply-To: <20210603073421.8441-1-patrice.chotard@foss.st.com> X-Cookie: Where am I? Who am I? Am I? I User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --w7PDEPdKQumQfZlR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 03, 2021 at 09:34:21AM +0200, patrice.chotard@foss.st.com wrote: > From: Patrice Chotard >=20 > In U-boot side, an issue has been encountered when QSPI source clock is > running at low frequency (24 MHz for example), waiting for TCF bit to be > set didn't ensure that all data has been send out the FIFO, we should also > wait that BUSY bit is cleared. Please remember to put the [PATCH] in your subject. --w7PDEPdKQumQfZlR Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmC4w3kACgkQJNaLcl1U h9AGvgf/c06cSrAIJt4WkAnSjIsVEZLJ6EtX2fhR1E3t7P/EQIOwLTAT5hlt3WMq vr56vrAhKSTgbDd1LKu12o9YKuM0IaU5IpBc5EbEKCtyV0uviSywNggFWtvxuegi CQzQRJGMlpTZ97Kbf/NR82O4wTUTgrJLWLF1xoNbLW5FqLb2oZ6PCdaZF7cP7JDu UVy9/JYGv6SBY4q6FDnF5avWVhQBKSjRZonrL1butvMA+7fgoaZrBhioZGKfojT0 8twf8B8QHmjNMEdxeBBqbQIAMnKfgMC9Mc6spHybTm/qIoUehU6a1ZIf4yp/+RmH oWkC6cNs0d/I2R0iecV9x4Mj8ngQpA== =ktXv -----END PGP SIGNATURE----- --w7PDEPdKQumQfZlR--