Received: by 10.213.65.68 with SMTP id h4csp285604imn; Mon, 12 Mar 2018 13:49:40 -0700 (PDT) X-Google-Smtp-Source: AG47ELsmbA6lmteFsgS3xfLBhDtmYrMLuFCTaasI+d7Va93+aSWppFh2iDsNhuNsTIOhX5uZ03lJ X-Received: by 10.98.163.67 with SMTP id s64mr9250978pfe.67.1520887780800; Mon, 12 Mar 2018 13:49:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520887780; cv=none; d=google.com; s=arc-20160816; b=SPz6DclcCuO7V6MITKpExborOzqNi+ZKkBqpKHVZtPjVkg2hMl+De6geRz7RWVuj/Y Li5m0maco/TlZngX9SylxjX3bauEExZm5J5S3VEGllcauIPAM+/tPzo2jdKK9mAnpkLh qQvDlzTKP7nCw4830AGLsg+tMsBWwiJl0wGTdluh1++ZGe9Tryo3YJoiIF+Akx6hpArP S8Fe+EDb+JUNwSh6CohwJFDZu2HbJBB+/vJkrqwuLX0vO+N/uILz38VpuqR+P3uS5gIz VJjMRY4nxKXRzWTttFMlmahKFu4X8Cp2/RK9wIBbvDJGOY24xRsgrSf5lWbN0VAdhxRc dnXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=5/Y+OhE6QGQeyqlF4Z9Rx75qf5jmBlw/MBxxlAPwdqY=; b=Cpvvr3lGVzxg+B3zkEQm4oKCcThpBhtyhrcLvi6/gMZy+wtwbfuNPN6GIWL5gUSiIg mEOnHRiAkBwtCjPYdhd/Tc8RCflfIjYnwJXqlch7rCDMQGJZT6gHS+OJ+t4TjUYQC3vP exzNmgnO+GyPwSnX+YhL6tsq9nKXpBTUt3C4ZUJrRXFqHDzZc2qt0PecIHDHN0ch6YIN hc7Br3iD9pxzDT+XjH0nO5d8UMDS+MCo0KsHZkDGNcwKcXAV95yzknWuenJ6gV1JCOZE 2fZaHSQ4CghN4A6IFmBFm7dejCq7lP+RHBNh9CffpoLdJGczw1kK6p6akuiOUG9kyHw6 ZpEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=T1n8OiLH; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y66si6343148pff.331.2018.03.12.13.49.26; Mon, 12 Mar 2018 13:49:40 -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=@gmail.com header.s=20161025 header.b=T1n8OiLH; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932415AbeCLUsS (ORCPT + 99 others); Mon, 12 Mar 2018 16:48:18 -0400 Received: from mail-yw0-f193.google.com ([209.85.161.193]:43380 "EHLO mail-yw0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932271AbeCLUsP (ORCPT ); Mon, 12 Mar 2018 16:48:15 -0400 Received: by mail-yw0-f193.google.com with SMTP id r66so1923891ywh.10; Mon, 12 Mar 2018 13:48:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=5/Y+OhE6QGQeyqlF4Z9Rx75qf5jmBlw/MBxxlAPwdqY=; b=T1n8OiLHLwTFpnVxqY3vCM28NcQenDYEQkA5GsOu/6cSs5GkIAH9MPvelnfphUpv/Y S60hMbZ30cC+fp2C1pIfkFKzrmK+N4xYmkNwMHvzLzatuX//Ba4qwT3BaRdBKHUvG/EE D+3tHYysf46Mm4qhNXGWBFm2RgsvbIwSB+gUoUgo4iNj04OtmEEL2jR8WKo6UiyZNi4V zK3O1LOJ6V304Cdq+H/W4EDRPyMMd97jSRDbh4zyeKQukTyNETh94sLVOvtpO2qSlWg4 H9p8NynbSSf5OyNzan0biLkoqB1PBe0jDiFe96+RJxM+gqURGtgtQ7u6ed85NnexNYGm DLFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=5/Y+OhE6QGQeyqlF4Z9Rx75qf5jmBlw/MBxxlAPwdqY=; b=UE3GizIQijxj88TfuUo6u1uN/3btibXKot2KQ1qvltX8pbCRI2h8I5SACXxd4Hwqio fVdjPQLzKsnUTAzVCjG5SETliRYgGV7QcOudH2vK6nBTYvUEH52uTWiJAJ4z88oe05n/ Njn+DSvqnQoAeFlqw55nuGeQSrVq92ikI8wncoaN5yxN6AWoq5RcwQKsm5f5tiU0izBn 0KUAinZTGzwCCQpmJ2NqkmCArA+7qElN/rIkZBZbuDtmAlQwfjuM1LGt2Pk1w2slf7jr YQVpnjgfc9lLGguubkwJChdfYPmkQTH1tPiFJDOPym+jiyu5H4TCO9AZ491Chq0qePsS gUkw== X-Gm-Message-State: AElRT7HrPjT68W3vg9XrQtpOHVGFJmNRX1eDXEUgqNqaKq1aZkAh/xkO JlpSbtQNC1HmWQu1HVmBpnc= X-Received: by 2002:a25:a349:: with SMTP id d67-v6mr1271568ybi.286.1520887694973; Mon, 12 Mar 2018 13:48:14 -0700 (PDT) Received: from localhost ([72.188.97.40]) by smtp.gmail.com with ESMTPSA id g63sm3168144ywc.53.2018.03.12.13.48.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 12 Mar 2018 13:48:14 -0700 (PDT) From: William Breathitt Gray To: linus.walleij@linaro.org Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, William Breathitt Gray Subject: [PATCH 0/8] Implement get_multiple for ACCES and PC104 drivers Date: Mon, 12 Mar 2018 16:48:03 -0400 Message-Id: X-Mailer: git-send-email 2.16.2 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset implements get_multiple callbacks for the PC104 GPIO drivers as well as the PCI-IDIO-16 and PCIe-IDIO-24 GPIO drivers. These devices all acquire the multiple input lines with a single read, so utilizing the get_multiple callback can provide improvement for those users who regularly access multiple input lines. While developing this patchset I noticed many of these devices make use of Intel 8255 compatible interfaces for their I/O. I may write a generic 8255 GPIO driver in the future to reduce some of the redundant code I see pop among the drivers for these devices. William Breathitt Gray (8): iio: stx104: Implement get_multiple callback gpio: 104-idio-16: Implement get_multiple callback gpio: pci-idio-16: Implement get_multiple callback gpio: pcie-idio-24: Implement get_multiple callback gpio: 104-dio-48e: Implement get_multiple callback gpio: 104-idi-48: Implement get_multiple callback gpio: gpio-mm: Implement get_multiple callback gpio: ws16c48: Implement get_multiple callback drivers/gpio/gpio-104-dio-48e.c | 41 ++++++++++++++++++++++++++ drivers/gpio/gpio-104-idi-48.c | 41 ++++++++++++++++++++++++++ drivers/gpio/gpio-104-idio-16.c | 15 ++++++++++ drivers/gpio/gpio-gpio-mm.c | 41 ++++++++++++++++++++++++++ drivers/gpio/gpio-pci-idio-16.c | 48 ++++++++++++++++++++++++++++++ drivers/gpio/gpio-pcie-idio-24.c | 63 ++++++++++++++++++++++++++++++++++++++++ drivers/gpio/gpio-ws16c48.c | 39 +++++++++++++++++++++++++ drivers/iio/adc/stx104.c | 11 +++++++ 8 files changed, 299 insertions(+) -- 2.16.2