public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Philipp Hachtmann <hachti@hachti.de>
To: Johan Hovold <johan@kernel.org>, Sascha Silbe <x-linux@infra-silbe.de>
Cc: Johan Hovold <jhovold@gmail.com>,
	Linus Walleij <linus.walleij@linaro.org>,
	Alexandre Courbot <gnurou@gmail.com>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	linux-usb@vger.kernel.org, linux-gpio@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] USB: ftdi_sio: add GPIO support
Date: Mon, 16 Jun 2014 09:15:55 +0200	[thread overview]
Message-ID: <539E99AB.9030907@hachti.de> (raw)
In-Reply-To: <20140610105631.GA10256@localhost>

Hi,

> Would this patch interfere with adding support for using the CBUS pins
> as GPIOs while operating in normal UART mode?

Most interesting question!

>> Care was taken to prevent using GPIOs if the serial device is in use
>> and vice versa.

What about CBUS GPIO support?

> Ok, so we're not extending the serial driver with support for
> controlling some unused pins (e.g. CBUS) but rather implementing support
> for a mutually exclusive mode.
For bitbang mode (on the data lines) - yes. But for bitbang on CBUS - no.


I have sent a proposal a few weeks ago but Greg did not like special 
sysfs stuff :-P
He asked me to use the GPIO subsystem for the CBUS pins. I am out of 
time until july. But I still want and need CBUS support in parallel with 
serial/FIFO operation.


Regards

Philipp

  reply	other threads:[~2014-06-16  7:16 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-09 13:21 [PATCH] USB: ftdi_sio: add GPIO support Sascha Silbe
2014-06-09 14:23 ` One Thousand Gnomes
2014-06-09 18:36   ` Sergei Shtylyov
2014-06-10 10:56 ` Johan Hovold
2014-06-16  7:15   ` Philipp Hachtmann [this message]
2014-06-13  7:25 ` Linus Walleij
2014-06-13 18:31   ` Greg Kroah-Hartman
2014-07-07 10:44     ` Linus Walleij
2014-07-07 17:31       ` Greg Kroah-Hartman
2015-05-30 20:29         ` Grant Likely
2015-06-02 13:18           ` Linus Walleij
2015-07-03 22:13             ` Grant Likely
2015-07-16 11:56               ` Linus Walleij

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=539E99AB.9030907@hachti.de \
    --to=hachti@hachti.de \
    --cc=gnurou@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=jhovold@gmail.com \
    --cc=johan@kernel.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=x-linux@infra-silbe.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox