All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Agner <stefan-XLVq0VzYD2Y@public.gmane.org>
To: Stefan Agner <stefan-XLVq0VzYD2Y@public.gmane.org>,
	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
Subject: Re: [PATCH 0/2] FTDI CBUS GPIO support
Date: Sun, 21 Jun 2015 21:44:30 +0200	[thread overview]
Message-ID: <a35f48994dedc061b54ca9ea255fdd4e@agner.ch> (raw)
In-Reply-To: <20150620234957.25729.qmail-Y+HMSxxDrH8@public.gmane.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

WARNING: multiple messages have this Message-ID (diff)
From: Stefan Agner <stefan@agner.ch>
To: Stefan Agner <stefan@agner.ch>,
	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
Date: Sun, 21 Jun 2015 21:44:30 +0200	[thread overview]
Message-ID: <a35f48994dedc061b54ca9ea255fdd4e@agner.ch> (raw)
In-Reply-To: <20150620234957.25729.qmail@stuge.se>

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/

  parent reply	other threads:[~2015-06-21 19:44 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-20 22:12 [PATCH 0/2] FTDI CBUS GPIO support Stefan Agner
2015-06-20 22:12 ` Stefan Agner
2015-06-20 22:12 ` [PATCH 1/2] USB: ftdi_sio: add CBUS mode for FT232R devices Stefan Agner
2015-06-20 22:12   ` Stefan Agner
2015-06-30  6:46   ` Linus Walleij
2015-06-30  6:54     ` Johan Hovold
2015-06-20 22:12 ` [PATCH 2/2] gpio: gpio-ftdi-cbus: add driver for FTDI CBUS GPIOs Stefan Agner
2015-06-20 22:12   ` Stefan Agner
2015-07-15  7:42   ` Linus Walleij
     [not found] ` <1434838377-8042-1-git-send-email-stefan-XLVq0VzYD2Y@public.gmane.org>
2015-06-20 23:49   ` [PATCH 0/2] FTDI CBUS GPIO support Peter Stuge
2015-06-20 23:49     ` Peter Stuge
     [not found]     ` <20150620234957.25729.qmail-Y+HMSxxDrH8@public.gmane.org>
2015-06-21 19:44       ` Stefan Agner [this message]
2015-06-21 19:44         ` Stefan Agner
     [not found]         ` <a35f48994dedc061b54ca9ea255fdd4e-XLVq0VzYD2Y@public.gmane.org>
2015-08-23  8:52           ` Grant Likely
2015-08-23  8:52             ` Grant Likely
2015-06-22 17:26   ` Johan Hovold
2015-06-22 17:26     ` Johan Hovold
2015-06-22 20:11     ` Stefan Agner
2015-06-22 20:11       ` Stefan Agner
2015-06-23  9:22       ` Johan Hovold
2015-06-23 22:08         ` Stefan Agner
2015-06-24  7:56           ` Johan Hovold
2015-06-21  2:22 ` Philipp Hachtmann
2015-06-21  2:22   ` Philipp Hachtmann
     [not found]   ` <55861FFC.30704-c1YPqJpaggmzQB+pC5nmwQ@public.gmane.org>
2015-06-21 19:39     ` Stefan Agner
2015-06-21 19:39       ` Stefan Agner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a35f48994dedc061b54ca9ea255fdd4e@agner.ch \
    --to=stefan-xlvq0vzyd2y@public.gmane.org \
    --cc=gnurou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org \
    --cc=gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org \
    --cc=hachti-c1YPqJpaggmzQB+pC5nmwQ@public.gmane.org \
    --cc=johan-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
    --cc=linux-gpio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=x-linux-XAdK+dDVA0n/cwiKa4OQEw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.