Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp6286162iob; Tue, 10 May 2022 14:57:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJykbUz7e/qKlkz/qDX+AvG9aJODPErDLGgp681+F7zYGsnQGFfLys4JHPf9JxryiEPhEBue X-Received: by 2002:aa7:c442:0:b0:425:ebed:4782 with SMTP id n2-20020aa7c442000000b00425ebed4782mr25822989edr.168.1652219846142; Tue, 10 May 2022 14:57:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652219846; cv=none; d=google.com; s=arc-20160816; b=yCEimaZgNsNfJvDy+aHqy2dPF79udDBWQINXlNxzDMKM/iGirJJ4v8CT9h5ca1cgNR 1hlfWGpSJW4gm7AyWhrAre4po0nQshE7IA8x49xL7iHe2wwJlDYdYM2L3d9YoGTnQ1WV jZqibpZlS0DMgfuzG5dRjvHKNVkNKy6DL+IR3Kctzv6DeNjOpUb4SfVy5LTtHGzlOBnP SA5RQNzkDjjpEFp96ug2g1jHkJaO6eIx24hbvsYt12xdaTQTjOhFjyIPmdIeOr0GDMJo L2lTrj0RjMRpBUb5MyY0SdiQRqmgahsQG5u75ansou9U9UV2iaAJUbrjynisNAxiBo3Y emSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=0iY23zFExaBL60617nuIY2YUPps8RPXgyzTZFJOKDcA=; b=dWHpSAIwS9qsi/i1QBE44bpyEF6gavLF78UAwT2eNKS8ahs+LnVPVrcejhH757wwji kxT77ah+0UZJqypj+8j/ih/Moo8Sw4/JxAc5mq+NtXEjLird4meShrp6r51M+gPZKPrE kpQI0nxSc2K68Fk6UM8/mDUxGwaduWPezg7T4GztKqNyLHgREwoANAOnGve+vBkEeM6N mwTjNMOTgOXn7Wbg4zxF7NMeQyOcMh9CCotT4FAYc2NpxrtCaYyv0+FqlxSVYC8QU6wx PNWd5610GHzyh0UrGYgvWcMBuew34oYuSfPNflFyzVY3aAYLd83mQah//M8Qs69bR04m iMYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="g6+UAI3/"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qf35-20020a1709077f2300b006df76385f10si461281ejc.944.2022.05.10.14.57.02; Tue, 10 May 2022 14:57:26 -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=@linaro.org header.s=google header.b="g6+UAI3/"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348280AbiEJRfd (ORCPT + 99 others); Tue, 10 May 2022 13:35:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59654 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239114AbiEJRfa (ORCPT ); Tue, 10 May 2022 13:35:30 -0400 Received: from mail-qt1-x82f.google.com (mail-qt1-x82f.google.com [IPv6:2607:f8b0:4864:20::82f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CECCC40E5B for ; Tue, 10 May 2022 10:31:20 -0700 (PDT) Received: by mail-qt1-x82f.google.com with SMTP id hf18so14095993qtb.0 for ; Tue, 10 May 2022 10:31:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=0iY23zFExaBL60617nuIY2YUPps8RPXgyzTZFJOKDcA=; b=g6+UAI3/t5qZDSi024NMaSQW9L1woLMbAa8zYqN9d6WnrslvlGDfqNkkgLr3snUKtq 5d9SMcLKaL/sqsEKckXJORH48a4ImkyIW/S4Kj6a5dEvU55+H4/0k2lIE2zwLBATCRud WexDhY4FRVJWO8Kk4gnubeld01Mz4LyUTAJTySPyaHuxIB2BXBwNWvnQanz01cz1wi2K zSzTFqibTRMbbCCK7FWBy0jVq+BU3pbfY/DYDnyhZ4GZTL1IRSb2d7ub5JyaorbYSgEP nJv5P65erTue4oIdoxVge8N8ts/BSe+JeEzEbvKDJCipWqe/0FoGcYZ6oKpK8ap+NF/k 5kZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=0iY23zFExaBL60617nuIY2YUPps8RPXgyzTZFJOKDcA=; b=s1Wz8ERIvu5RcMf08SiwfRI7uFOND/J/aoYdn8m5ZqBhmX7C6FTTKIo52IHjirXmwY Xtf+LUD6+t/NkiH+DO6aCRh6ykJXYG8qjRIoYZwwZcYMakgFZ66ylCu3yYAKe6MdP4FH zIFHyXuA/29LP547H3766OFULbZhgKBT77Kz6ym7hKgqS+F97kvfnP/sD2bVR/e9vQEU EzuQXWdHz9I0flc2AZkp8GRTnRN5d1ZfoZnkW3TYbYDYkRQpcR8TEy/z78wNJd2m2Vt8 rILUCV5SgVwEXLOrAoFpPPEaMPg31cJ1d5c3OvAbbSXHdZpvTqpci4esNje36ZAtyW2w NM/g== X-Gm-Message-State: AOAM532lqaehN6SoqBi6Qx8N8VQg73Pf7spcz/KqsQGZhpH+Yf5UAKvi DscKTlwCOjjrv8fwpN7SS7x7DootkOCo2Q== X-Received: by 2002:a05:622a:1713:b0:2f3:dc97:eb24 with SMTP id h19-20020a05622a171300b002f3dc97eb24mr9109511qtk.547.1652203880008; Tue, 10 May 2022 10:31:20 -0700 (PDT) Received: from fedora.attlocal.net (69-109-179-158.lightspeed.dybhfl.sbcglobal.net. [69.109.179.158]) by smtp.gmail.com with ESMTPSA id i6-20020a05620a150600b0069ff8ebec64sm8490411qkk.103.2022.05.10.10.31.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 May 2022 10:31:19 -0700 (PDT) From: William Breathitt Gray To: linux-iio@vger.kernel.org Cc: linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linus.walleij@linaro.org, schnelle@linux.ibm.com, David.Laight@ACULAB.COM, macro@orcam.me.uk, William Breathitt Gray , Bartosz Golaszewski , Jonathan Cameron , Lars-Peter Clausen Subject: [PATCH 0/8] Utilize iomap interface for PC104 and friends Date: Tue, 10 May 2022 13:30:52 -0400 Message-Id: X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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 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