Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1383628iob; Sat, 14 May 2022 07:36:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxEgzZX5Fn6w/9bzKUtqzfdNLoI92JE9G2M0qYkiJ+0N5cPj2HO/4jgclL6rqBgamRxx2Tq X-Received: by 2002:a05:6402:1148:b0:413:11e0:1f58 with SMTP id g8-20020a056402114800b0041311e01f58mr4005417edw.113.1652538971192; Sat, 14 May 2022 07:36:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652538971; cv=none; d=google.com; s=arc-20160816; b=iuzUKq23Bpv606e67o6z48hdbIWDPbkaYg7781mLuNxKZyWvxuk3PgvfsoEGuTeN35 9rRq8+0K32rtJYMe6pMlrjdG2AxlW0SaQrkQOz66BCskqvCaYyop/dpxJsHu15OA/bKN HBdTFP59syd1UjX/UT0OSLtbAMw28us7RufsXvihGfNagA4TXHx6apNEqomPWBLtU1Gj ywUa54vXtaf3wg9b8huJeuM4OJXED43+oZrcOvafjINK/FmatbJ7NeYNoNxHaEMhHvsE QRYhbOky1E/cPGrUgwFr/s72MObCWxKo76bpFkFdnY7dPh1/0vxcgAl0fURdnduJUHlG mYcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=IoHz3rKQ6T9DaUlQMzQ2pFXtAHjOXDI9HT3Dr8Rzuok=; b=skP/E80r8+dKQNW2vNPir1EtvLGwMrH1Z0Cqq53sxabXlpG1Uc3TCqH+YqGZQeW1JN F2NaIZf3v+kUV+LNyadzuUXlNHdZLcrKK/LPH1/dtvR8jq538RRYkhbXR3SsYsOtIB0v Enily0Z+7FfwpdIT50DKbpBW4fGZRKpT/MxAzg8yNUO853R9y+iKvbGNgxidUnw1LeTZ 3xetsjgZFwUerTaJSgOrqnoej3Sx8PY6GnTBK4W4gaNu7lBr7BsxpgtoeiXeyKNo7z8z m6A82nyk3SFRz4u6x88fgt8XOxBxdc9Sa6m+wvL7h5FU4Y2FI/XowGXhV3ptsodPem7+ epOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=hC4p+y23; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nb42-20020a1709071caa00b006e0f9bb12a5si5599830ejc.253.2022.05.14.07.35.32; Sat, 14 May 2022 07:36:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=hC4p+y23; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232381AbiENM6F (ORCPT + 99 others); Sat, 14 May 2022 08:58:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232370AbiENM6E (ORCPT ); Sat, 14 May 2022 08:58:04 -0400 Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 28CF163AF for ; Sat, 14 May 2022 05:58:01 -0700 (PDT) Received: by mail-ej1-x629.google.com with SMTP id kq17so20858511ejb.4 for ; Sat, 14 May 2022 05:58:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=IoHz3rKQ6T9DaUlQMzQ2pFXtAHjOXDI9HT3Dr8Rzuok=; b=hC4p+y23s4tTMoDduWRP5QBttUikdqsg60mshzDwMopKtzIsU9DgJKE/YFviXguGDI yxq1sROw2U/WGFkXXYncIkCtg3hteWXXkYRlbgLt5AU5PN/quFmKfE8AxlNxn4po9nH9 KuTK7f1QHgoEv5VHFiqf40zuMyNnUlOitjhP1reB9NnrSdHWuZRPG4L0T33phKxesQ2y f0rSGhUs+5XPcJdNc+vy2R8AZWb2PinM0aKmRAkASu+Mhuzbm2fj6kvbQEDbEy4HDYTF QGmsWuD5bQyccBF6g1YuTNQAsoXkDtlbQSLppSpMxZYQz9xR69DWOIbTZVoanIzqKL7k C4bA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=IoHz3rKQ6T9DaUlQMzQ2pFXtAHjOXDI9HT3Dr8Rzuok=; b=0WX4mZwOdHlcZy39xKgeBm57a5JVDd0imhan88JnAbxQLSC/ObjdIEJT7e2GiWhvfx /PUaQ767AhlSZX/9pyMo8XEw/FiKlTjaWcJldP80sdT1T3aSwyMfPgpzYac+rquHesA6 URyqyucFNsCCKrE39cxlRBRqHlAbPiFFWqQHz856rFNHyAp2JOiur3ExT4re6Hssc+nw DLEDFXT7d5a1J9+ZzssWw/jJ/OCPYXoC/PyPtWQQxTYi3td8oJJiF+5jKl42uauTS5a0 GnuiBE+hJUKYwy2t4uqFvkgwdjdHBYvWtfK21e4BD/0SEPPcEcBFfKUUDjPJQt8ut/4R eyKw== X-Gm-Message-State: AOAM5339sPVSzT9TRXoBWTxE+fes5Gh+HvIaHd56G3SsM2ku76LWQSjd 3KR9xQD2tRWJ9BU9M4ufKTG0FQyHbaRGdQWxihubVg== X-Received: by 2002:a17:907:6e04:b0:6f4:d6f3:c72a with SMTP id sd4-20020a1709076e0400b006f4d6f3c72amr8361063ejc.636.1652533079660; Sat, 14 May 2022 05:57:59 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Bartosz Golaszewski Date: Sat, 14 May 2022 14:57:49 +0200 Message-ID: Subject: Re: [PATCH 0/8] Utilize iomap interface for PC104 and friends To: William Breathitt Gray Cc: linux-iio , Linux Kernel Mailing List , "open list:GPIO SUBSYSTEM" , Linus Walleij , schnelle@linux.ibm.com, David Laight , macro@orcam.me.uk, Jonathan Cameron , Lars-Peter Clausen Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Bart