From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DF217ECDFAA for ; Wed, 18 Jul 2018 07:20:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 44C6320852 for ; Wed, 18 Jul 2018 07:20:56 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 44C6320852 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bootlin.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727640AbeGRH5T convert rfc822-to-8bit (ORCPT ); Wed, 18 Jul 2018 03:57:19 -0400 Received: from mail.bootlin.com ([62.4.15.54]:38220 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726699AbeGRH5T (ORCPT ); Wed, 18 Jul 2018 03:57:19 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id BA1C020798; Wed, 18 Jul 2018 09:20:51 +0200 (CEST) Received: from xps13 (AAubervilliers-681-1-27-161.w90-88.abo.wanadoo.fr [90.88.147.161]) by mail.bootlin.com (Postfix) with ESMTPSA id 44F69206D8; Wed, 18 Jul 2018 09:20:41 +0200 (CEST) Date: Wed, 18 Jul 2018 09:20:41 +0200 From: Miquel Raynal To: Janusz Krzysztofik Cc: Tony Lindgren , Aaro Koskinen , Boris Brezillon , Richard Weinberger , David Woodhouse , Brian Norris , Marek Vasut , Shreeya Patel , Arvind Yadav , Bartlomiej Zolnierkiewicz , Gregory CLEMENT , Krzysztof Halasa , Arnd Bergmann , linux-arm-kernel@lists.infradead.org, linux-mtd@lists.infradead.org, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, Andy Shevchenko , Tomi Valkeinen Subject: Re: [PATCH v2 2/3 v4] mtd: rawnand: ams-delta: use GPIO lookup table Message-ID: <20180718092041.1d49094a@xps13> In-Reply-To: <20180717231448.14958-3-jmkrzyszt@gmail.com> References: <20180518210954.29044-1-jmkrzyszt@gmail.com> <20180717231448.14958-1-jmkrzyszt@gmail.com> <20180717231448.14958-3-jmkrzyszt@gmail.com> Organization: Bootlin 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=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Janusz, Tony Janusz Krzysztofik wrote on Wed, 18 Jul 2018 01:14:47 +0200: > Now as Amstrad Delta board - the only user of this driver - provides > GPIO lookup tables, switch from GPIO numbers to GPIO descriptors and > use the table to locate required GPIO pins. > > Declare static variables for storing GPIO descriptors and replace > gpio_ function calls with their gpiod_ equivalents. > > Pin naming used by the driver should be followed while respective GPIO > lookup table is initialized by a board init code. > > Signed-off-by: Janusz Krzysztofik > Acked-by: Boris Brezillon > --- Acked-by: Miquel Raynal As suggested by Boris, we expect this series to go through the OMAP tree so we'll need an immutable tag, there are more changes on this driver coming in. Thanks! Miquèl