Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp4960618imm; Tue, 7 Aug 2018 10:08:40 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeGRJdW0c+RqsSF673vD3eNZwYsDa9/iMjqdZ0xv99m/Dn78ni1zvb4P/6vAFzTelK58DDt X-Received: by 2002:a17:902:261:: with SMTP id 88-v6mr18877974plc.331.1533661720757; Tue, 07 Aug 2018 10:08:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533661720; cv=none; d=google.com; s=arc-20160816; b=dDj1bxVxaFSP4CU7a5VqAS98XwX7aD52s1u9JItW1af6nlMKOgvSAEUJZdV4vL8/Qh Cm552VRQsxGbRv/rjzefJuC6kkZ+7+49F8MrlPuWk/enNUvJbrtJfZR5CErYW2FvT1F3 c05TiQaAyvVbmMTnFutkfUhRghQgrcTOZlqUgQ1SLpnnzFgelUV9x4TNUJI/JvIBwgnK 0Uk7rhEZ7+t3YUtP40fBdiueHZYIztQe4HFirACoHQwKHwnSYrX/re5LMEv1s0//KtFL 71ncF9mRvyLqTJOshRZheKfN2eaIGUvj6Yp+4Q8hOCo4Jn37CzNuqOsSeSkPY8e2nhgR Yf8A== 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=o1RHrL0k9B6d7svOXNk1fCKx+pE9vvZLormo9MmHw1g=; b=urF1R3QYdQB6TQvHQmJmF+Bgyb6z8UZuEWoC32U9E04lmpaCDp05hj8Fu+rEmg4UtD 0WPMIXuTKkYwMQKZxUQNRHZLbl9QqsuwvXMoBIeTRG7AiCMc4WTm6L7/I8goCSS3x3Ac QRXOrhaJq578v5OkFBtPeqZZojS9uBrq9CiPRXnlnCcXnGPq0lahRlNqR32vce6H4h6h n9GvkRK5cxtZeWC09qjcxLWdhgad6+Zlgi2G1awLYdLULiwmKGdZKRcA9IQxE8wvWV6P F/sBsmQxETfqMZuCZeTIOdxoGCDVrcAktEpE3g1yVLKc7tLFpIBDYYtfmr3B1ZPyqIHq hZjw== 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 s71-v6si1865288pfa.367.2018.08.07.10.08.25; Tue, 07 Aug 2018 10:08:40 -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 S2390007AbeHGTV6 (ORCPT + 99 others); Tue, 7 Aug 2018 15:21:58 -0400 Received: from mail.bootlin.com ([62.4.15.54]:36566 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389971AbeHGTV5 (ORCPT ); Tue, 7 Aug 2018 15:21:57 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id 548D820799; Tue, 7 Aug 2018 19:06:39 +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 2A73B2072C; Tue, 7 Aug 2018 19:06:28 +0200 (CEST) Date: Tue, 7 Aug 2018 19:06:27 +0200 From: Boris Brezillon To: Janusz Krzysztofik Cc: Linus Walleij , Jonathan Corbet , Miquel Raynal , Richard Weinberger , David Woodhouse , Brian Norris , Marek Vasut , Tony Lindgren , Aaro Koskinen , linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, linux-mtd@lists.infradead.org, linux-doc@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH v2 05/12] mtd: rawnand: ams-delta: use GPIO API for data read/write Message-ID: <20180807190627.4340aade@bbrezillon> In-Reply-To: <20180806222918.12644-6-jmkrzyszt@gmail.com> References: <20180718235710.18242-1-jmkrzyszt@gmail.com> <20180806222918.12644-1-jmkrzyszt@gmail.com> <20180806222918.12644-6-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 Tue, 7 Aug 2018 00:29:11 +0200 Janusz Krzysztofik wrote: > Don't readw()/writew() data directly from/to GPIO port which is under > control of gpio-omap driver, use GPIO API instead. > > Degrade of performance on Amstrad Delta is completely not acceptable. Can we have numbers along with information about where the overhead is when using gpiod_{get,set}_raw_array_value()? > > The driver should work with any 8+-bit bidirectional GPIO port, not > only OMAP. That's cool!