From patchwork Tue Feb 12 07:12:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 1040414 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=socionext.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="s41CvpGb"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=nifty.com header.i=@nifty.com header.b="QCnn15a4"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43zDR45TJMz9sPS for ; Tue, 12 Feb 2019 18:13:52 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=/eKdjJvfFdJn9IOsveehD9pPazq0pTTAPvowht26V4M=; b=s41 CvpGbr2UJP+1zzx4U8xR0N/V48rcQMFxEW/KLe8UAwP1FMlGX8G2ZgewpHTKZ2ooFMWWPZG8M/91k jc6j21y2pZ2qLsIhW35BOi7AN0ggFQ45GUEzvQGo9kszXn3UpOLhYEWuY7NPKW64CgmiJwCTJNDPs Ux+y8qtLNGlR2fNByQnQhmkMfdXflZ6uNPgKgRDajVPsiaNo3ztwNTbIe/STZ2ycYrR8Q94jshvug VJn3RFnfdjnwrCQ945Xgzw/mhkn0GayhbdiS3wijnX9PipJmcM1YXCuZ/LnOTyqpYkiSVBUaFZTpx 9Sc2xvQ8qPuvx1hQjDrCY2WRrNEwuOg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gtSGJ-0003HE-WB; Tue, 12 Feb 2019 07:13:48 +0000 Received: from conuserg-09.nifty.com ([210.131.2.76]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gtSGG-0003Fc-SY for linux-mtd@lists.infradead.org; Tue, 12 Feb 2019 07:13:46 +0000 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id x1C7DPdO019269; Tue, 12 Feb 2019 16:13:25 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com x1C7DPdO019269 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1549955606; bh=mQUdV4NTuI7qkTpa+3djKWY84fCz8ncLRAS3QcqZLO0=; h=From:To:Cc:Subject:Date:From; b=QCnn15a4Pj1kBdK3Sd2K9Oo0MuKJqoJd2E5DxaGvgjeOBck8D04hyyesryiRjCA6m A5kY2WQD5nmtxvE0uOfHeHVwhY2nIQJXUHAnfb74rA6sQakyADWaGEe6tyRw9poLGZ SXm1TiccWXwb+8oNGBoe9qK8JQWiEQU6lEJvgJfmauiyQyqoJpDGJlygeCK5zsIyZm sZi/0M7XPw7Drucff+qwMKVpgqhw61PbYhOdNsFOvYkhKXTCo8Q03sAVp4raiWCKjD 5O9m8DCFAHUHEHJVKlbU+57fpYovaCvNt0CVIxp2RvVuebp7K3nN0PCsvVqMU75noK 2463sTlktRD5w== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-mtd@lists.infradead.org, Miquel Raynal Subject: [PATCH v2 00/10] mtd: rawnand: denali: exec_op(), controller/chip separation, and cleanups Date: Tue, 12 Feb 2019 16:12:52 +0900 Message-Id: <1549955582-30346-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190211_231345_258625_4E780080 X-CRM114-Status: UNSURE ( 8.36 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 1.0 (+) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (1.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [210.131.2.76 listed in list.dnswl.org] 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Masahiro Yamada , Richard Weinberger , Boris Brezillon , linux-kernel@vger.kernel.org, Marek Vasut , Rob Herring , Brian Norris , David Woodhouse MIME-Version: 1.0 Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org I took time for the Denali driver to catch up with the latest framework. - switch over to exec_op() and remove legacy hooks - separate controller/chips - various cleanups Masahiro Yamada (10): mtd: rawnand: denali: use nand_chip pointer more for internal functions mtd: rawnand: denali: refactor syndrome layout handling for raw access mtd: rawnand: denali: remove unneeded casts in denali_{read,write}_pio mtd: rawnand: denali: switch over to ->exec_op() from legacy hooks mtd: rawnand: denali: use more precise timeout for NAND_OP_WAITRDT_INSTR mtd: rawnand: denali: use bool type instead of int where appropriate mtd: rawnand: denali_pci: rename goto labels mtd: rawnand: denali: decouple controller and NAND chips mtd: rawnand: denali: remove DENALI_NR_BANKS macro mtd: rawnand: denali: clean up coding style .../devicetree/bindings/mtd/denali-nand.txt | 39 +- drivers/mtd/nand/raw/denali.c | 1144 +++++++++++--------- drivers/mtd/nand/raw/denali.h | 119 +- drivers/mtd/nand/raw/denali_dt.c | 98 +- drivers/mtd/nand/raw/denali_pci.c | 38 +- 5 files changed, 850 insertions(+), 588 deletions(-)