Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3229876imm; Fri, 20 Jul 2018 12:26:24 -0700 (PDT) X-Google-Smtp-Source: AAOMgpf4w8hNsACKwjNFOpfFJpPbs8kBO7FGxx0DnDe7lrEuGrhy/Q0Gvac5+ml7NKwM53+MaKCH X-Received: by 2002:a63:6949:: with SMTP id e70-v6mr3324899pgc.119.1532114783963; Fri, 20 Jul 2018 12:26:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532114783; cv=none; d=google.com; s=arc-20160816; b=x/xiRa8MxD+KRygmAC5NYFW/o5iaXx1+rp6+c+CfN2VxOUqBteN+T6+a5J4bjn+7Eu w8QDgJMRjn9ZLGiVsOSeca7IpQedQs+6OCIxtIjELXgBkN8SBDQuCq3HxWVaadOS1+ja GepKLOXL5N/efbiSTSg6CACG404rwA4gpy55SgaZiJTHwrxAOPmZZrl5mpxFmyaa8ucI YmzOfvEt+WYPEy0Hj6eK+Fsdx1RgJv1jFqJvufV+/AlELAtSxIkTDoA6uOyM05KX9+o/ FKUI5ZGV8GIlDkyc/ytvTut9Vh4C+FxpSgSo8JAddpqj9KlIK2+J8Zkp2cgv17ACPT9I m31Q== 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=qfSrKltHczuiVbIxCVpwQARddrO75l8jh3ZOtOeTRyc=; b=b/k4okAq2CUoWsIfgrbaIdr3L5lTL9SVdKcWwvYPJqEA8gtrVGKrowWNCMWloQE6Iw 74gf5HW4ZvcmlzB3xW1b19lzVFyyaDxfGB6vj0NjZIDxSfLLzg1Cnr3pSsFMFJS8AILO JTyGUvYzuTFplOdq+xkj62IbEwAnqE7PIzx9vlr6g1xTU1WUy5RoM2feizXx91wFr4yr MV9JGJ3Sq+VZRHB7eWvZLXB6KNzRgzG+y+Bv22R53OprMrvfZS7R9SKB8Bg4l1BealCq Nmn/POPIvQ1oj4vQloeCitOoeQ+o5+79Ecm4P+7zO39pF9duubQJtDTCqPf8/60TjV7t ePQg== 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 98-v6si2357668pla.20.2018.07.20.12.26.09; Fri, 20 Jul 2018 12:26:23 -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 S2388401AbeGTUPP (ORCPT + 99 others); Fri, 20 Jul 2018 16:15:15 -0400 Received: from mail.bootlin.com ([62.4.15.54]:34714 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388036AbeGTUPP (ORCPT ); Fri, 20 Jul 2018 16:15:15 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id 6097C20731; Fri, 20 Jul 2018 21:25:33 +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 (unknown [37.173.220.171]) by mail.bootlin.com (Postfix) with ESMTPSA id 1B1462069C; Fri, 20 Jul 2018 21:25:22 +0200 (CEST) Date: Fri, 20 Jul 2018 21:25:21 +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: <20180720212521.483d27a5@bbrezillon> In-Reply-To: <6335220.Jscgez8sxx@z50> References: <20180718235710.18242-1-jmkrzyszt@gmail.com> <20180719081508.5dafebde@bbrezillon> <6335220.Jscgez8sxx@z50> 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 On Fri, 20 Jul 2018 19:55:42 +0200 Janusz Krzysztofik wrote: > Hi Boris, > > On Thursday, July 19, 2018 8:15:08 AM CEST Boris Brezillon wrote: > > 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. > > OK, I'll have a look as my free time permits. > > > 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. > > nand_gpio uses a form of read()/write() on a single bidirectional register for > data transfer, not GPIO, and it does not make use of NRE / NWE signals. Maybe > the two drivers could be merged to some extent but not entirely, I think. Well, yes, right now the nand-gpio driver is assuming the data bus is not bit-banged, but that's something we can easily add. Anyway, my remark was more a "nice to have" not a hard requirement.