Received: by 10.213.65.68 with SMTP id h4csp1150273imn; Mon, 26 Mar 2018 01:33:08 -0700 (PDT) X-Google-Smtp-Source: AG47ELtFQon8WkRDMmK1z55vUx7ek1nP8dFlOwZ2SaB9ITxrXj2RSxSEUli9+2YhzEqKt/8z3ihp X-Received: by 10.101.88.196 with SMTP id e4mr27310848pgu.162.1522053188665; Mon, 26 Mar 2018 01:33:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522053188; cv=none; d=google.com; s=arc-20160816; b=gTaQIh6z67RiPS/MQOkanZhGrojFayKN1upEq8zmS726MOg0Wj/Aw9cnH4C35wvsoT aLpKzavQdybELYIytvHN0425oHCD4UeHFKMpj4/x3s7vyOP4vGRH+qW8GLKVywboo+3Z qkzB34pSwSuC7D+J5QeYQXiBEi9XVxbG/KQXkNZHuZLslmY76DDcz4IAOBIyo7cQTmSb oLN3MOMO8tsKq+BSJodLYeHXPRKCHDe1dhRgQgRUR4IgLQIl1Xar70fA9PQN3yZg9XVm 8uDxwaBUeq8N2sNFTYLUNvVNjTXPkpzYZjw2cN9jpDpPbREK2tslFpLz5okhiWnAvMSs e+Tw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=LBIrs0P22NsY1P/W+vNK/ECcfSb8I8+bIDT7tNu628U=; b=vyzZfZwF9noXHTgPLyo8alTaMXl3N5xka9DUPGPciYhke4rVnHLoQsELSclV2XBcv4 +yMpg0CfFIFwgYF2HQQ2HTYCgWaW3mFwGOIIRRHdlmONkgKTtAfkwjpihB+Cr7oIdzZO x5OUfEnwYqQiA6Sia7EkDmc+NmRNrHhlvbrYVDhp4HO/zWYUvfToUPz6ik1ipn/zVwFK 7okqVfsRWLnouDdkk12Cyo7ratLiIf6fwHUN3kV4GI5oFYiNzZ1fSWRhsC8wu5DPBh51 MTY83p27vV53m0QoUvs47GmOySZOK4D+3nLFijopNYf6TZ75KP3Q81+0hL+b4AGCvkJh Dg0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=igwntFrB; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p15si9635384pgn.17.2018.03.26.01.32.53; Mon, 26 Mar 2018 01:33:08 -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=@linaro.org header.s=google header.b=igwntFrB; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751890AbeCZIbo (ORCPT + 99 others); Mon, 26 Mar 2018 04:31:44 -0400 Received: from mail-it0-f67.google.com ([209.85.214.67]:39053 "EHLO mail-it0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751171AbeCZIbm (ORCPT ); Mon, 26 Mar 2018 04:31:42 -0400 Received: by mail-it0-f67.google.com with SMTP id e98-v6so9661874itd.4 for ; Mon, 26 Mar 2018 01:31:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=LBIrs0P22NsY1P/W+vNK/ECcfSb8I8+bIDT7tNu628U=; b=igwntFrBuyRHtWyFsGkP40Hb3TU80KOm7HNwjM88zs0XU397KL29WD+4yShLZ5OdR3 wsX3xXEUCrPP1t8CtzQ4rwUDPru23uRNKyMaX4PH0kbCvjpsiWP0dsWpFbsxS95yUwlA cNPVzMFDzd/z+qimTMl5yf8mmmbXT7UV7aeqE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=LBIrs0P22NsY1P/W+vNK/ECcfSb8I8+bIDT7tNu628U=; b=a0pmzXSSLonPS+BkoUBN86mfObfpsZcf7OWn9OeqAe8d2YYLI4q7C9XJkbRwj07iDX 9v6PDl5yuT4t8aKNqI2Xk8V1ItKsphE2O2xVUq7mwkPqn7PZWdsCEsjEtM6vuvBrfrpk Cf9gUD/h6MM/Mgv11dQq24laQQRg1QZdCn7KV3NlsOrJEtXnoMcdJA83WBiLbT4Swkgu Ln+legg9+NlzvUFcL3x/MMUxcA4uSW60Lp1racfEgL1z71CUOPxcNz6cZXo6GTr+b6xC 14LPHamygXCq9MVbBsgypD9yanLlz/SlhTfEeMbcQ/EZKTVwyGT89cvDIAVZu9djnDFz R1kA== X-Gm-Message-State: AElRT7GU8CnYlBTFzRkHOHuKfqi9hEaiy+7YJnW0UVmctcKDrXuzN0mG KNhHlDeC3MtnPTKBS+9280vwQLl2teLCrfza3CeOUw== X-Received: by 2002:a24:10c7:: with SMTP id 190-v6mr5325349ity.38.1522053102033; Mon, 26 Mar 2018 01:31:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.207.141 with HTTP; Mon, 26 Mar 2018 01:31:41 -0700 (PDT) In-Reply-To: References: From: Linus Walleij Date: Mon, 26 Mar 2018 10:31:41 +0200 Message-ID: Subject: Re: [PATCH v4 0/7] Implement get_multiple for ACCES and PC/104 drivers To: William Breathitt Gray Cc: Andy Shevchenko , "open list:GPIO SUBSYSTEM" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 22, 2018 at 1:59 PM, William Breathitt Gray wrote: > Changes in v4: I applied the v4 patch set so we get some rotation in linux-next before the merge window. If reviewers still find smallish issues they can certainly be fixed in follow-up patches. > 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. Did you use the userspace chardev for some interesting experiments with your set-ups? I tend to think of your applications as pretty interesting for industry peers, and a good proof-of-concept for the userspace API. > 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. Oh! This guy? https://en.wikipedia.org/wiki/Intel_8255 Yeah that makes all kind of sense. We are living with the legacy of the first PCs every day when it comes own to EISA & friends... Yours, Linus Walleij