Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752275AbdI2KlC (ORCPT ); Fri, 29 Sep 2017 06:41:02 -0400 Received: from conuserg-12.nifty.com ([210.131.2.79]:57846 "EHLO conuserg-12.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752103AbdI2Kk6 (ORCPT ); Fri, 29 Sep 2017 06:40:58 -0400 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com v8TAcmAC012917 X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-mtd@lists.infradead.org Cc: Masahiro Yamada , Cyrille Pitchen , linux-kernel@vger.kernel.org, Boris Brezillon , Marek Vasut , Brian Norris , Richard Weinberger , David Woodhouse Subject: [PATCH v2 0/2] mtd: nand: wait for tWHR, and fix the setup_data_interface of Denali Date: Fri, 29 Sep 2017 19:38:38 +0900 Message-Id: <1506681520-13897-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 822 Lines: 26 1/2 : add NAND_WAIT_TWHR and nand_whr_delay(). You can set this new flag if you want nand_command(_lp) to insert tWHR delay where needed. 2/2 : Fix Denali setup_data_interface. Boris' suggestion in v1 was a good reminder that made me realize tCCS was missing in the driver. Fix it now. Changes in v2: - Add nand_whr_delay() helper Wait for tWHR only for drivers that explicitly set NAND_WAIT_TWHR flag - newly added Masahiro Yamada (2): mtd: nand: wait for tWHR after NAND_CMD_STATUS / NAND_CMD_READID mtd: nand: denali: fix setup_data_interface to meet tCCS delay drivers/mtd/nand/denali.c | 10 ++++++++-- drivers/mtd/nand/nand_base.c | 21 +++++++++++++++++++-- include/linux/mtd/rawnand.h | 13 ++++++++----- 3 files changed, 35 insertions(+), 9 deletions(-) -- 2.7.4