From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Agner Subject: Re: [PATCH 0/2] FTDI CBUS GPIO support Date: Sun, 21 Jun 2015 21:44:30 +0200 Message-ID: References: <1434838377-8042-1-git-send-email-stefan@agner.ch> <20150620234957.25729.qmail@stuge.se> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20150620234957.25729.qmail-Y+HMSxxDrH8@public.gmane.org> Sender: linux-usb-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Stefan Agner , johan-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org, gnurou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org, gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org, x-linux-XAdK+dDVA0n/cwiKa4OQEw@public.gmane.org, hachti-c1YPqJpaggmzQB+pC5nmwQ@public.gmane.org, linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-gpio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-gpio@vger.kernel.org On 2015-06-21 01:49, Peter Stuge wrote: > Stefan Agner wrote: >> libftdi requires to detach the kernel driver to get access to the device > > Control transfers ought to be possible without a detach. Good to know, thanks for this input. The detach is probably a default behavior of libftdi... Will have a look at that. Having kernel level gpiolib would still have advantages: It would make the matching of the GPIO's and tty device easier, since with this patch the gpiolib device is a sub-node of the usb-serial device in sysfs and the user would have to use kernel interfaces only (no libftdi)... -- Stefan -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754205AbbFUTrG (ORCPT ); Sun, 21 Jun 2015 15:47:06 -0400 Received: from mail.kmu-office.ch ([178.209.48.109]:52155 "EHLO mail.kmu-office.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751186AbbFUTq4 (ORCPT ); Sun, 21 Jun 2015 15:46:56 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Date: Sun, 21 Jun 2015 21:44:30 +0200 From: Stefan Agner To: Stefan Agner , johan@kernel.org, linus.walleij@linaro.org, gnurou@gmail.com, grant.likely@secretlab.ca, gregkh@linuxfoundation.org, x-linux@infra-silbe.de, hachti@hachti.de, linux-usb@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/2] FTDI CBUS GPIO support In-Reply-To: <20150620234957.25729.qmail@stuge.se> References: <1434838377-8042-1-git-send-email-stefan@agner.ch> <20150620234957.25729.qmail@stuge.se> Message-ID: User-Agent: Roundcube Webmail/1.1.2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2015-06-21 01:49, Peter Stuge wrote: > Stefan Agner wrote: >> libftdi requires to detach the kernel driver to get access to the device > > Control transfers ought to be possible without a detach. Good to know, thanks for this input. The detach is probably a default behavior of libftdi... Will have a look at that. Having kernel level gpiolib would still have advantages: It would make the matching of the GPIO's and tty device easier, since with this patch the gpiolib device is a sub-node of the usb-serial device in sysfs and the user would have to use kernel interfaces only (no libftdi)... -- Stefan -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in Please read the FAQ at http://www.tux.org/lkml/