From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752470AbbJWLED (ORCPT ); Fri, 23 Oct 2015 07:04:03 -0400 Received: from down.free-electrons.com ([37.187.137.238]:35500 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751955AbbJWLEA (ORCPT ); Fri, 23 Oct 2015 07:04:00 -0400 From: Boris Brezillon To: David Woodhouse , Brian Norris , linux-mtd@lists.infradead.org Cc: linux-kernel@vger.kernel.org, Maxime Ripard , linux-sunxi@googlegroups.com, Boris Brezillon Subject: [PATCH 0/2] mtd: nand: automate NAND timings selection Date: Fri, 23 Oct 2015 13:03:54 +0200 Message-Id: <1445598236-14036-1-git-send-email-boris.brezillon@free-electrons.com> X-Mailer: git-send-email 2.1.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, This series aims at automating the NAND timings selection which is currently supposed to be done in each NAND controller driver, thus simplifying drivers implementation. Patch 1 also opens the door to DDR NAND support, though setting DDR timings is currently not supported. Note that patch 2 is given here as an example of how patch 1 simplifies things, but won't apply cleanly on mtd-next (it's based on top of other changes I haven't submitted yet). Best Regards, Boris Boris Brezillon (2): mtd: nand: automate NAND timings selection mtd: nand: sunxi: switch from manual to automated timing config drivers/mtd/nand/nand_base.c | 189 +++++++++++++++++++++++++++++++++++++++++- drivers/mtd/nand/sunxi_nand.c | 72 ++++------------ include/linux/mtd/nand.h | 115 ++++++++++++++----------- 3 files changed, 270 insertions(+), 106 deletions(-) -- 2.1.4