From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Welling Subject: Re: [PATCH v2] gpio: add userspace ABI for GPIO line information Date: Fri, 19 Feb 2016 03:46:20 -0600 Message-ID: <20160219094620.GA28750@deathstar> References: <1455542435-3182-1-git-send-email-linus.walleij@linaro.org> <20160217205445.GA2394@deathstar> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-io0-f179.google.com ([209.85.223.179]:34358 "EHLO mail-io0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1423814AbcBSJqg (ORCPT ); Fri, 19 Feb 2016 04:46:36 -0500 Received: by mail-io0-f179.google.com with SMTP id 9so103751872iom.1 for ; Fri, 19 Feb 2016 01:46:35 -0800 (PST) Content-Disposition: inline In-Reply-To: Sender: linux-gpio-owner@vger.kernel.org List-Id: linux-gpio@vger.kernel.org To: Linus Walleij Cc: "linux-gpio@vger.kernel.org" , Alexandre Courbot , Johan Hovold , Markus Pargmann , Bamvor Jian Zhang , Grant Likely , Amit Kucheria On Fri, Feb 19, 2016 at 09:55:41AM +0100, Linus Walleij wrote: > On Wed, Feb 17, 2016 at 9:54 PM, Michael Welling wrote: > > > After applying the patch from Josh Cartwright: > > http://www.spinics.net/lists/arm-kernel/msg484070.html > > Sorry for screwing up :( > > > root@dragonboard-410c:/sys/class/gpio# ~/lsgpio > > GPIO chip: gpiochip0, "1000000.pinctrl", 122 GPIO lines > > line 0: unnamed unlabeled > > (...) > > > > Tested-by: Michael Welling > > I hope that means you also like where this is going :D > I am very happy to see the progress that is being made. I am looking forward to see how the GPIOs will be modified from userspace. The fact that single controllers can host hundreds of GPIOs is going to make it an interesting problem. Do you have a sketch of how the accesses with be performed? ioctl, read, write. Thanks for all of the work so far. > I merged this to my main branch now. > > Yours, > Linus Walleij