Messages in this thread | | | From | Mark Brown <> | Subject | Re: [PATCH 1/3] gpiolib: add gpio_set_direction() | Date | Sat, 27 Feb 2010 17:20:58 +0000 |
| |
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).
| |