From mboxrd@z Thu Jan 1 00:00:00 1970 From: stigge@antcom.de (Roland Stigge) Date: Fri, 28 Sep 2012 14:35:04 +0200 Subject: [PATCH RFC 1/2] gpio: Add a block GPIO API to gpiolib In-Reply-To: References: <1348780923-27428-1-git-send-email-stigge@antcom.de> <50657356.4010801@antcom.de> Message-ID: <50659978.8010003@antcom.de> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi, On 09/28/2012 01:34 PM, Linus Walleij wrote: >> Or some kind of new character device node? > > Yes, I don't know if we should create /dev/gpioN or /dev/pinctrlN for > this, and add GPIO functions to pinctrl (while wrapping it in the > gpiolib to aid migration) the latter would encourage users of the > new ABI to switch to writing pinctrl drivers. Will have a look at this. >> Otherwise, I need to think about leaving out the sysfs for this purpose. > > Do you really need it? In more that half of the cases, I needed userspace access. So I'm quite interested in it. Thanks for your notes. Roland From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757873Ab2I1MfJ (ORCPT ); Fri, 28 Sep 2012 08:35:09 -0400 Received: from antcom.de ([188.40.178.216]:37103 "EHLO chuck.antcom.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757810Ab2I1MfG (ORCPT ); Fri, 28 Sep 2012 08:35:06 -0400 Message-ID: <50659978.8010003@antcom.de> Date: Fri, 28 Sep 2012 14:35:04 +0200 From: Roland Stigge Organization: ANTCOM IT Research & Development User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.5) Gecko/20120624 Icedove/10.0.5 MIME-Version: 1.0 To: Linus Walleij CC: Grant Likely , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, w.sang@pengutronix.de, jbe@pengutronix.de, Bill Gatliff , Jean-Christophe PLAGNIOL-VILLARD Subject: Re: [PATCH RFC 1/2] gpio: Add a block GPIO API to gpiolib References: <1348780923-27428-1-git-send-email-stigge@antcom.de> <50657356.4010801@antcom.de> In-Reply-To: X-Enigmail-Version: 1.4 OpenPGP: url=subkeys.pgp.net Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 09/28/2012 01:34 PM, Linus Walleij wrote: >> Or some kind of new character device node? > > Yes, I don't know if we should create /dev/gpioN or /dev/pinctrlN for > this, and add GPIO functions to pinctrl (while wrapping it in the > gpiolib to aid migration) the latter would encourage users of the > new ABI to switch to writing pinctrl drivers. Will have a look at this. >> Otherwise, I need to think about leaving out the sysfs for this purpose. > > Do you really need it? In more that half of the cases, I needed userspace access. So I'm quite interested in it. Thanks for your notes. Roland