From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olof Johansson Subject: Re: [PATCH 01/11] ARM/gpio: ep93xx: build standalone Date: Fri, 24 Aug 2018 08:51:57 -0700 Message-ID: <20180824155157.lwgtq5m7q4e3hlvt@localhost> References: <20180822204111.9581-1-linus.walleij@linaro.org> <20180822204111.9581-2-linus.walleij@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20180822204111.9581-2-linus.walleij@linaro.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Linus Walleij Cc: Arnd Bergmann , linux-gpio@vger.kernel.org, H Hartley Sweeten , arm@kernel.org, Alexander Sverdlin , linux-arm-kernel@lists.infradead.org List-Id: linux-gpio@vger.kernel.org On Wed, Aug 22, 2018 at 10:41:01PM +0200, Linus Walleij wrote: > From: Arnd Bergmann > > As a preparation for multiplatform support, this ensures > that the ep93xx gpio driver can be built without any of > the platform specific header files. We pass the IRQ numbers > as a resource now, and use the virtual mmio base from the > already existing resource, rather than relying on the > hardwired virtual address from the header file. > > Some numbers are now hardcoded that came from macros > in the past, but for all I can tell, the driver already > relied on the specific values. > > Cc: arm@kernel.org > Signed-off-by: Arnd Bergmann > Signed-off-by: Linus Walleij > --- > Arnd/other ARM SoC person: > Please provide an ACK for this patch so I can merge it > with the rest of the refactorings into the GPIO tree. Acked-by: Olof Johansson (As Arnd said, isn't really needed but here's a redundant one anyway. :) -Olof