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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 132D3C433FE for ; Sat, 14 May 2022 14:10:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232905AbiENOK2 (ORCPT ); Sat, 14 May 2022 10:10:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231211AbiENOK0 (ORCPT ); Sat, 14 May 2022 10:10:26 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0DB412AAB; Sat, 14 May 2022 07:10:25 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 8B87660EDA; Sat, 14 May 2022 14:10:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 92CA2C340EE; Sat, 14 May 2022 14:10:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1652537424; bh=b4Yqu2wA3dN7+oULR9UAd9cblXScNS6iqAVMaDg7EZE=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=LLwLyTCUREjf9+Z+WNGHiSAxcNJocRVUeO5DWnio4BFZPQrrEJ6MOIEfcMI7OKIh+ XYntVv8ore/SgqMGkY9jFvD3lWDhLjjOf8XOlfGSiohPUocmHu5L5rr102cwaJwJvS mHKXAs4pFU3/vuO0AxHrb15rGc0zSHwG2bYYd2PvVe+iA3B94WPO1rhFya0yPY7Oak 9MmfivXBU79Np45ScUmdDwtWXtQM+3LgLMpofJHAyU7MhK1h9NqHx1Doyjik84eNj0 ovChgZ3nN3Goior9c69A90zSerh/BxXuGPOIepf882iro2kQGAzuph5L9y0bVJXi0U yq3G+OLeMILwg== Date: Sat, 14 May 2022 15:18:59 +0100 From: Jonathan Cameron To: Bartosz Golaszewski Cc: William Breathitt Gray , linux-iio , Linux Kernel Mailing List , "open list:GPIO SUBSYSTEM" , Linus Walleij , schnelle@linux.ibm.com, David Laight , macro@orcam.me.uk, Lars-Peter Clausen Subject: Re: [PATCH 0/8] Utilize iomap interface for PC104 and friends Message-ID: <20220514151859.692928dc@jic23-huawei> In-Reply-To: References: X-Mailer: Claws Mail 4.1.0 (GTK 3.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org On Sat, 14 May 2022 14:57:49 +0200 Bartosz Golaszewski wrote: > On Tue, May 10, 2022 at 7:31 PM William Breathitt Gray > wrote: > > > > PC104 cards and similar devices do not need to access I/O ports directly > > via inb()/outb() and can instead use the more typical I/O memory > > ioread8()/iowrite8() accessor calls by first calling ioport_map(). This > > patchset converts the relevant PC104/ISA card drivers to do such. With > > these drivers now utilizing I/O memory accessor calls, work can be done > > to consolidate some similar devices (e.g. 104-idio-16, pci-idio-16, > > etc.) into a unified driver in a future patchset. > > > > This patchset spawned from a suggestion made in another thread titled > > "gpio: add HAS_IOPORT dependencies": > > https://lore.kernel.org/all/c3a3cdd99d4645e2bbbe082808cbb2a5@AcuMS.aculab.com/ > > > > William Breathitt Gray (8): > > counter: 104-quad-8: Utilize iomap interface > > gpio: 104-dio-48e: Utilize iomap interface > > gpio: 104-idi-48: Utilize iomap interface > > gpio: 104-idio-16: Utilize iomap interface > > gpio: gpio-mm: Utilize iomap interface > > gpio: ws16c48: Utilize iomap interface > > iio: adc: stx104: Utilize iomap interface > > iio: dac: cio-dac: Utilize iomap interface > > > > drivers/counter/104-quad-8.c | 169 +++++++++++++++++--------------- > > drivers/gpio/gpio-104-dio-48e.c | 63 ++++++------ > > drivers/gpio/gpio-104-idi-48.c | 27 ++--- > > drivers/gpio/gpio-104-idio-16.c | 33 ++++--- > > drivers/gpio/gpio-gpio-mm.c | 43 ++++---- > > drivers/gpio/gpio-ws16c48.c | 65 ++++++------ > > drivers/iio/adc/stx104.c | 56 ++++++----- > > drivers/iio/dac/cio-dac.c | 14 +-- > > 8 files changed, 248 insertions(+), 222 deletions(-) > > > > > > base-commit: ce522ba9ef7e2d9fb22a39eb3371c0c64e2a433e > > -- > > 2.35.3 > > > > I don't see any dependencies so applied the GPIO part. Likewise, I've applied the IIO ones. Initially pushed out as testing to see if 0-day finds any issues. Given timing, we may well be looking at next merge window now though. Thanks, Jonathan > > Bart