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=-17.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham 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 7496EC47088 for ; Wed, 26 May 2021 15:45:03 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 32EA361028 for ; Wed, 26 May 2021 15:45:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 32EA361028 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bootlin.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-mtd-bounces+linux-mtd=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=zdgwkejos3bpE7HKXpbaGki1BiQ268CPMBLMe7Py5C4=; b=YJ+dpSXxu+MzNW 4AoRUK2beg8ZnXBzZRN+zU9m8he1sMoHQ8pnq/SxGr6ovOzClWX5QnIIrbcCKtRxF8Jek16KgxYdP umh91fWPz16OMU2VM5l544Nz/7kzitSd4niZhCRoXYaHPTk/v+D2Fng0yxUzusyqZkA5jS2kurFPq xDBpv/ZYBSDyTXV8LVbjNGz/eM9Zo+Edn1Xc5d1hMTeWp6UAje3Wc2Ef1YgpoIIFT9VOKnFP9RD46 4i9Un9Aaqv6UUwpMRLm/72agZt3Z8rP6eWJ3+aQKRl32ClJtHi94I5BEQ1/Zpm+33j04Y+DP5qDX5 5clqkLO55X6gTV34qzsw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1llvhv-00FTQN-JZ; Wed, 26 May 2021 15:44:31 +0000 Received: from relay7-d.mail.gandi.net ([217.70.183.200]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1llucP-00EvwD-L0 for linux-mtd@lists.infradead.org; Wed, 26 May 2021 14:34:47 +0000 Received: (Authenticated sender: miquel.raynal@bootlin.com) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id BACE52000E; Wed, 26 May 2021 14:34:43 +0000 (UTC) From: Miquel Raynal To: Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Tudor Ambarus , linux-mtd@lists.infradead.org Subject: Re: [RESEND v3 3/4] mtd: rawnand: arasan: Ensure proper configuration for the asserted target Date: Wed, 26 May 2021 16:34:43 +0200 Message-Id: <20210526143443.188105-1-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210526093242.183847-4-miquel.raynal@bootlin.com> References: MIME-Version: 1.0 X-linux-mtd-patch-notification: thanks X-linux-mtd-patch-commit: b'b5437c7b682c9a505065b4ab4716cdc951dc3c7c' X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210526_073445_863956_11D23B01 X-CRM114-Status: GOOD ( 11.40 ) X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-mtd" Errors-To: linux-mtd-bounces+linux-mtd=archiver.kernel.org@lists.infradead.org On Wed, 2021-05-26 at 09:32:41 UTC, Miquel Raynal wrote: > The controller being always asserting one CS or the other, there is no > need to actually select the right target before doing a page read/write. > However, the anfc_select_target() helper actually also changes the > timing configuration and clock in the case were two different NAND chips > with different timing requirements would be used. In this situation, we > must ensure proper configuration of the controller by calling it. > > As a consequence of this change, the anfc_select_target() helper is > being moved earlier in the driver. > > Fixes: 88ffef1b65cf ("mtd: rawnand: arasan: Support the hardware BCH ECC engine") > Signed-off-by: Miquel Raynal Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next. Miquel ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/