Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3145630imm; Fri, 20 Jul 2018 10:56:04 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdGYULRjAwQdFQEi5odnVe4SKi37BGG1fv/avd6TVa1Ex18107TE4FFG3o3aDFrNjqAYEN0 X-Received: by 2002:a63:2ec3:: with SMTP id u186-v6mr2947191pgu.225.1532109364663; Fri, 20 Jul 2018 10:56:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532109364; cv=none; d=google.com; s=arc-20160816; b=koWT+JuHrtJgjhleANLsnawbGEeOGcDS1POaV4lOLtvsWGw9yvQr8GTaDRkcbJWEk4 3O6JJU5HczuMtNQPRCnNK9kP7rg/5tPvO+jz4sEHsuSVYIsekhlPdamONcFiW0dz7+M4 PcyK1UvUl9Bbs3F8BMMsHLbAiJ2Z6rwv1p7Ozmjg7eoB/IhEJFsdjnHokFi+SKY5Quvp Wr8VP5hUi96hA3W+wic1dfrR371OhKnkAFP8W5i5kTQFCRnqN4/DSYW5Gd4zZR6YcCOX PSKeQ1xx6QtecErdvpxJsmIH2UdgAyVeIhXuhvb0NdLwrVJcXk1pKDC4jKyyf3mi4M2m SGtw== 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:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=OhnPoVfzDLkfUO+KQ56PnXFtuslLKy1xij0YG9E5eAA=; b=ctk4Sbnqd5/WUvoEGbvy1Fzw6xZoGRNekb6CRbbjJTHU8mITmQ0EapW+puCS64pTxn fUoI7Z85V7nwpPxSCLNe6gCdD35tXlmo+mqLSnUW3tM6QYDFs1ND5g9zU76VQLGkH186 cboe9xDqZ8XA10Msdz8RCAM4Kg8AJ+Q8RTrY1K5edYV08Vl2l7zKJrU2fxI2TwgoqezO D5oMgPCBU0006cSuD559vpB9L+oNu/DM+Lz9VSechSYLBttjFFKBZTIfrkg5fDyYehHp Fk+L6PH1sPCyTRIeh4iL6R+fou9a0gF0RBI1KewWN/emNUnDJRBdMxt5U2DH/2i1xi05 zqaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="r6bOIV/Z"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q65-v6si2344720pga.283.2018.07.20.10.55.50; Fri, 20 Jul 2018 10:56:04 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b="r6bOIV/Z"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388266AbeGTSoY (ORCPT + 99 others); Fri, 20 Jul 2018 14:44:24 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:42424 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388131AbeGTSoY (ORCPT ); Fri, 20 Jul 2018 14:44:24 -0400 Received: by mail-lj1-f196.google.com with SMTP id f1-v6so10155930ljc.9; Fri, 20 Jul 2018 10:55:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=OhnPoVfzDLkfUO+KQ56PnXFtuslLKy1xij0YG9E5eAA=; b=r6bOIV/ZuacXRoh52AUn3XF+de5ehfDAT3nT4j8D58t/FujD679QmsAGj4ZbzUKo3L nLfx+QelR99K2jKfL8sbUvZe2K1Nddcf5f02AzLw1AFcaFwg2PQxyAY3cA27ZSyRSgSn rJarojbD/ZlDatW3qeAx7UmkGd/P2OLKySLAewJ6LoAZs0JY4S2v+QU3x0eagAsGEfwA wJsrKgSXFla+sS2yikq6oPTUZ0LyjQww8F28dOqJjL+FFNgFhNYUkroJOu4+VPy3n3Pl hHKyDkhALcyDmozht/HpId618TJx8NSz0YdPnbYOjf6QZMixITUXYXmDI+lpC9MZ/U9o Ychw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=OhnPoVfzDLkfUO+KQ56PnXFtuslLKy1xij0YG9E5eAA=; b=Ej6KKt+wFWbMwi4umSZZyJQB89wOToBXqGa0Z5JKHyoIWSz/clE1W91LBLS3t0CJa2 Viv5JfW5uvLS18NncCH3bQdYqFY3qpXkWPBg6qTYGka2tHdH9eH8DWvPxEXVVG01ovsH w7uI1+D6FiPIRkA+OmSLBs1ujyK9/XrAAVHjI0oi5T5fTkRBVtA4lMxK61/wiJliW8+Z z1I5LWOQvhq7gd53e+33qcu/axEbAxk0rWARyngJkTBijdXrFVmK0qxVoS9nMBFoW04R RgIpl2BjQU4SeQl6sUZgA3uwuzYsHp46ZlSVo94CQCnm6b+i1gbM/I8w2qOiKSA0NOgS y9xQ== X-Gm-Message-State: AOUpUlGkCl43kqEwGwkVnXMW6za70Zt+zmr3lVW0pNG7hDQ0Y+/yIy5x qQYWWViRsC+SG/YiLeNhRto= X-Received: by 2002:a2e:8950:: with SMTP id b16-v6mr2472372ljk.111.1532109301292; Fri, 20 Jul 2018 10:55:01 -0700 (PDT) Received: from z50.localnet ([31.0.82.186]) by smtp.gmail.com with ESMTPSA id m66-v6sm383354lfi.17.2018.07.20.10.54.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Jul 2018 10:55:00 -0700 (PDT) From: Janusz Krzysztofik To: Boris Brezillon 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 Date: Fri, 20 Jul 2018 19:55:42 +0200 Message-ID: <6335220.Jscgez8sxx@z50> In-Reply-To: <20180719081508.5dafebde@bbrezillon> References: <20180718235710.18242-1-jmkrzyszt@gmail.com> <20180719081508.5dafebde@bbrezillon> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Thanks, Janusz