Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1367136imm; Wed, 18 Jul 2018 23:48:42 -0700 (PDT) X-Google-Smtp-Source: AAOMgpd2cq8E2LMeVG6Y5DSQca+l9SQRZEVgrKUub0iOS0hhoduR3xO6F7l5uk61omkMYGboKqlx X-Received: by 2002:a63:d15:: with SMTP id c21-v6mr8914584pgl.322.1531982922796; Wed, 18 Jul 2018 23:48:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531982922; cv=none; d=google.com; s=arc-20160816; b=b+sp2Dp0LZJa5qb4wlyuQDHWZAHYTX9qStHjXa6bjnM1A9Vgn0NbUT+XqIiE/2xJ/l w3ViFP8JHIsx7KQb5fU+zD85m5a5YlFcDxImBb4IugCp6NBGj0fGYn/xXuzzK12w06nZ QlKGEJNLurpvh+4zna2StJl37GbsVRr3RGuBg9cOtEVhIdxa3HNGRkcsgFzgZoSlVZfx jDF7T47e0SHkztw1D95IkXg3p9VmUqcOZR99feBsSwXj22uM+Dn6OGm1q6dIspOqLz0t Cu4UIgrZ7uLc2o5L0fUMbsWvRd3tXyJCSwac4kWcMgUpHN7zhZNesPI6iOdQgRq7XUv6 qhOA== 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=9JR6aw+2KiHP9tEnuvJLCKl+Xo2pGW2b3LeztVm3niM=; b=WhcqncPChLzVsAG00WVSXlbKdpYzg5RTDez+qt8NgvCtNKNzTdW4DvDfINlbxp3GaG 8pDLozt5hNfHBBiaBhDNqK+sDjQP4jbK0x6n4ayqGpu/OWuztY6P8XgD7cZfO6fw3m0j 4FG+kc43WX2FJoJlwuXG4bxbFMAx4Mr5k7LWH9fhuxGJu/NABobTf8zPYN/jOLmXThSv 7qZ8Kk9DWmsk4jSRLXIf3bxuO/jOEW0sALLpxE4VBtVVFdllhaf7f22ZL96p4KWyLxB9 Qc8bYnLFY2GpoD0zs60Mkw3B4gvmxnnEhlOkhTg8YEA6lEgWtCW2VqC39feAa82iHlgZ 5YQA== 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 b67-v6si5589195pfg.0.2018.07.18.23.48.27; Wed, 18 Jul 2018 23:48:42 -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 S1728060AbeGSH30 (ORCPT + 99 others); Thu, 19 Jul 2018 03:29:26 -0400 Received: from mail.bootlin.com ([62.4.15.54]:51856 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726890AbeGSH3Z (ORCPT ); Thu, 19 Jul 2018 03:29:25 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id 22F87207AD; Thu, 19 Jul 2018 08:47:50 +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 AE66220731; Thu, 19 Jul 2018 08:47:49 +0200 (CEST) Date: Thu, 19 Jul 2018 08:47:49 +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 8/8] mtd: rawnand: ams-delta: Use GPIO callbacks for data I/O Message-ID: <20180719084749.25ca96a6@bbrezillon> In-Reply-To: <20180718235710.18242-9-jmkrzyszt@gmail.com> References: <20180718235710.18242-1-jmkrzyszt@gmail.com> <20180718235710.18242-9-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 On Thu, 19 Jul 2018 01:57:10 +0200 Janusz Krzysztofik wrote: > Don't readw()/writew() data directly from/to GPIO port which is under > control of gpio-omap driver, use GPIO chip callbacks instead. > > Thanks to utilization of get/set_multiple() callbacks, performance > degrade is minor for typical data transfers. Same comment here, don't use the gpio_chip hooks directly, use the consumer API instead. > > The driver should now work with any 8+-bit bidirectional GPIO port, > not only OMAP. > > Signed-off-by: Janusz Krzysztofik > > # Conflicts: > # drivers/mtd/nand/raw/ams-delta.c Oh, some leftovers from a conflict resolution :).