Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1345349imm; Wed, 18 Jul 2018 23:16:02 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfZU3hEZVatj4sK2oiGE03ZC3S7BBa1NC7pGBViw6egdD/XbF3yUUHY1viNbZiS8KgOj7OK X-Received: by 2002:a17:902:724c:: with SMTP id c12-v6mr8669257pll.326.1531980962835; Wed, 18 Jul 2018 23:16:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531980962; cv=none; d=google.com; s=arc-20160816; b=E/360SFyaInx3IovhCVoy7rXWzFIs/87wJ0T7G+MAiKvwm77TlNqmQYfuUyodJj4fb IJ88m9h682+4NGi8h8JT90zXWu36PoIFB0iKkV6dDJTpy0EHtiqfERkJAvPBo6N0l0IH vFhJGb+t34uOTVPTHHXm1Ptsmxtj7LfCNpYgEGxf3KloA2b+8MGDoMwt0pRXJf2sQKFD uWqi9GyXK9hBwhTuFjfZthI/HYp2sNzvGjZ73WtfiKLBpUPqfWTJogPvPsw8iHUHYfMJ mfRhYtShrCyfJtGV/tBnV6AHB7xJdW7oxbuSL8uJcsy4YfU0kg4A5nX+Sc75si/ZVZV4 Rc5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :arc-authentication-results; bh=ml4fVPMhEYAI82heFcD9Pt3Sznddk6QpfqMVVx6d6RA=; b=mCZ9Y1PRrEbYvZ9EYsraKcyhKptr9I9cRr52C34nm2Q0/lKgkrMvDA8aZVPnU0WieR PuD+mQtZZ+zdI7X02dOO7ojcI3KjmzNDJ4hDBr7L9oLw9Zqlw9eMx8IDns9fCZ13ZCVz BGj+XskVYqTlOVpunupMnP2BsqJlgZHzkt6IPMuCNY8/oPgShwmK3S7fDFPEZWjSrDC4 dWkFKis30XdOmYA5jXy3yUH5S1M3fglyx4W+EC/wX7BR53Bprqc4S8sNCqJ0+Q0GAwxo epQlbaV95XfMDeKwnbwOpVmwhqxEHmmCeK02NI6h4fvrCmbFWx9BbQmMVReolg2XL8gF QxkQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a10-v6si5093288pln.349.2018.07.18.23.15.46; Wed, 18 Jul 2018 23:16:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727487AbeGSG4i (ORCPT + 99 others); Thu, 19 Jul 2018 02:56:38 -0400 Received: from mail.bootlin.com ([62.4.15.54]:50506 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726468AbeGSG4i (ORCPT ); Thu, 19 Jul 2018 02:56:38 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id 652A920766; Thu, 19 Jul 2018 08:15:09 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.4.0 Received: from bbrezillon (91-160-177-164.subs.proxad.net [91.160.177.164]) by mail.bootlin.com (Postfix) with ESMTPSA id EE7EB2069C; Thu, 19 Jul 2018 08:15:08 +0200 (CEST) Date: Thu, 19 Jul 2018 08:15:08 +0200 From: Boris Brezillon To: Janusz Krzysztofik Cc: Miquel Raynal , Tony Lindgren , Aaro Koskinen , Grygorii Strashko , Santosh Shilimkar , Kevin Hilman , Linus Walleij , Richard Weinberger , David Woodhouse , Brian Norris , Marek Vasut , linux-mtd@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Artem Bityutskiy Subject: Re: [RFC PATCH 0/8] mtd: rawnand: ams-delta: Use gpio-omap accessors for data I/O Message-ID: <20180719081508.5dafebde@bbrezillon> In-Reply-To: <20180718235710.18242-1-jmkrzyszt@gmail.com> References: <20180718235710.18242-1-jmkrzyszt@gmail.com> X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Janusz, On Thu, 19 Jul 2018 01:57:02 +0200 Janusz Krzysztofik wrote: > Implement the idea suggested by Artem Bityutskiy and Tony Lindgren > described in commit b027274d2e3a ("mtd: ams-delta: fix > request_mem_region() failure"). Thanks for doing that. I'll review the patches, but I already have a extra request: can you convert this driver to ->exec_op()? It does not necessarily have to be done in this patchset, but, that'd be great to have one more driver converted to the new interface. BTW, there seems to be a nand_gpio driver, maybe we should merge ams-delta code into nand_gpio after it's been patched to use the GPIO consumer API. > > arch/arm/mach-omap1/board-ams-delta.c | 22 - > drivers/gpio/gpio-omap.c | 88 ++++++ > drivers/mtd/nand/raw/ams-delta.c | 436 +++++++++++++++++++++------------- > 3 files changed, 376 insertions(+), 170 deletions(-) >