lkml.org 
[lkml]   [2010]   [Feb]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 1/3] gpiolib: add gpio_set_direction()
Date
On 27 Feb 2010, at 16:24, David Brownell <david-b@pacbell.net> wrote:

> On Saturday 27 February 2010, Mark Brown wrote:
>>> "none" ... since it's not even a GPIO, why would it show
>>> up through the GPIO subsystem???
>>
>> I suspect this is intended to be tristated, which might be useful
>> to add.
>
> That's what "input" means, as a rule: no output driver
> is active with a GPIO configured as "iput". "Tristate"
> is an option that's relevant for outputs ... low, high,
> or not-driven.

Indeed, but some devices do implement a distinct tristate state for
input mode pins (disabling interrupt generation logic and so on for
example).


\
 
 \ /
  Last update: 2010-02-27 18:25    [W:0.049 / U:0.396 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site