Re: [PATCH 1/3] gpiolib: add gpio_set_direction()
From: Mark Brown
Date: Sat Feb 27 2010 - 12:22:18 EST
On 27 Feb 2010, at 16:24, David Brownell <david-b@xxxxxxxxxxx> 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).
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/