Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3077370imm; Fri, 10 Aug 2018 03:27:53 -0700 (PDT) X-Google-Smtp-Source: AA+uWPwSPC/A8KFzSSNUTrvmPuVevvuKO3txoX05Xml1GaGk2bT+no50gbj6aBDLgKHHKagCCQ7e X-Received: by 2002:a17:902:8a90:: with SMTP id p16-v6mr5614213plo.106.1533896873924; Fri, 10 Aug 2018 03:27:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533896873; cv=none; d=google.com; s=arc-20160816; b=iqB7d+7AtGX6htWsaWAtT71wPcC+7tfMgHRoJ3lyAYcDWvWrE1HCoQDQ9IrXpsiqQV 08RwJ1uWbvwBsh2GPUok8V21novBsafnox2ZfFIw+HLMbGlSohlTbnB55GWp6tj+HstP 4aatTKyXdZ8QCm4XZanq+BVs4GUc8wbmw8izgwrlwiBUDLyae0RZUtxSKZv/r2w/bqtG P9KJo96E5JoI0aJA+iKBT4GtPunacfBGxEgOwJ1Tuemu0rB5EX1ECpntZyxFYd/6qeEp oTIgnfkcjB1OGaiEsQjyp60gbegNESDTPoXZjQ49l45Awd1/Vaha8xlov1F2d4DRlZ0P mVdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=Z1XSGgD2g/h71miz+mtYUCYJBOw3XFpuXRf52kOZ7vM=; b=Gt0mo3Lkv3jPCF7I4fur5cvEL+GnrZpNEP8GDPAwiPlQ2FCtPy9/6Dl2xRO5jPGdBd jy7+8cxHwLZ4nDjTPDvqTYEZW4gBBg9G/R0Yham1vZ0H30Ya5CN2y4wvv4KWAM6ukwWG Ha78LbNragXQBwzndCNdxVTPUAfwBxetCIZ+jRKLu6svGP+6UPMTYbVx+WMGUL3GEeth DSMz3N5tTTFnREMORF2X1MGs5z+luGwCkNmuKW5l1trwASG730ttWl7jBlU/tcCVNe/n nI6/49yG3mnzCFW2vxkGGH/buUIh2rD/0kOAAFxk4Vamck2a4G5UrbuhWfsfa9ZvkfmQ w7Jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ToCURU0a; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k13-v6si9287232pgg.346.2018.08.10.03.27.38; Fri, 10 Aug 2018 03:27:53 -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=@linaro.org header.s=google header.b=ToCURU0a; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727704AbeHJMkG (ORCPT + 99 others); Fri, 10 Aug 2018 08:40:06 -0400 Received: from mail-it0-f65.google.com ([209.85.214.65]:55602 "EHLO mail-it0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727486AbeHJMkF (ORCPT ); Fri, 10 Aug 2018 08:40:05 -0400 Received: by mail-it0-f65.google.com with SMTP id d10-v6so1890772itj.5 for ; Fri, 10 Aug 2018 03:10:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Z1XSGgD2g/h71miz+mtYUCYJBOw3XFpuXRf52kOZ7vM=; b=ToCURU0avAFZujog3YX3NS/5wlPF8Z1A2ThdeaQlWxcG1XMBjXRcFXOVJK9l9pUqAJ aQRff1wmlIpB5BvZZScELO73kORlzn+XIkjlHeR3JA8Xe8/oRSdDxEazJ+LXuD5EVaZu igNnVvXJH6E7fTklmT2WxQ9REBTt3DvZlQprA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Z1XSGgD2g/h71miz+mtYUCYJBOw3XFpuXRf52kOZ7vM=; b=OJtshn/YMAtgmuHIwU3Sng5to7uLB96wnwk84H68s4PvLXx+Nv8MEtoJg5xyjaEpYc yYyEaVC8f4I6gQ3kXqEcXfIjS3/Qa0p8mtRY6i8l2O/3AAVzC2iSTQgGN6V2tCkFwTXO TXMMstfXot67zB9EQZToyLyg5J5tfGs+e4eaNbbJgLXSoojZXNcen5Hq4lvcF6ZymDYU sexY/muyIVoZ0Qw1N5H5bMSOzWnz2jniedWJNEpR4mmlTLSFU9M9difBrS+aEEUeoDGq eOSgEW89tiF+wnuF5VyrV52628mQZRtryQB9KcomQuv/BsONPQPTcJytuouJekbsJzlt M3SQ== X-Gm-Message-State: AOUpUlHcAfagySi3X2Yskv+X4DZluwFrQVBYokNIrGTKramBIRxJiAoZ dt06CHyvmuPjocR7t6dEGBAfG16fDffcHoDW4Nu4vQ== X-Received: by 2002:a24:5004:: with SMTP id m4-v6mr1558725itb.38.1533895853368; Fri, 10 Aug 2018 03:10:53 -0700 (PDT) MIME-Version: 1.0 References: <20180718235710.18242-1-jmkrzyszt@gmail.com> <20180806222918.12644-1-jmkrzyszt@gmail.com> <20180806222918.12644-4-jmkrzyszt@gmail.com> In-Reply-To: <20180806222918.12644-4-jmkrzyszt@gmail.com> From: Linus Walleij Date: Fri, 10 Aug 2018 12:10:41 +0200 Message-ID: Subject: Re: [RFC PATCH v2 03/12] ARM: OMAP1: ams-delta: Provide GPIO lookup table for NAND data port To: Janusz Krzysztofik Cc: Boris Brezillon , Jonathan Corbet , =?UTF-8?Q?Miqu=C3=A8l_Raynal?= , Richard Weinberger , David Woodhouse , Brian Norris , Mark Vasut , ext Tony Lindgren , Aaro Koskinen , Linux ARM , Linux-OMAP , linux-mtd@lists.infradead.org, linux-doc@vger.kernel.org, "open list:GPIO SUBSYSTEM" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 7, 2018 at 12:29 AM Janusz Krzysztofik wrote: > Data port used by Amstrad Delta NAND driver is actually an OMAP MPUIO > device, already under control of gpio-omap driver. The NAND driver > gets access to the port by ioremapping it and performs read/write > operations. That is done without any proteciton from other users > legally manipulating the port pins over GPIO API. > > The plan is to convert the driver to access the port over GPIO consumer > API. Before that is implemented, the driver can already obtain > exclusive access to the port by requesting an array of its GPIO > descriptors. > > Add respective entries to the NAND GPIO lookup table. > > Signed-off-by: Janusz Krzysztofik Reviewed-by: Linus Walleij Yours, Linus Walleij