[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120217163659.GD10146@opensource.wolfsonmicro.com>
Date: Fri, 17 Feb 2012 08:37:01 -0800
From: Mark Brown <broonie@...nsource.wolfsonmicro.com>
To: Laxman Dewangan <ldewangan@...dia.com>
Cc: grant.likely@...retlab.ca, linus.walleij@...ricsson.com,
rdunlap@...otime.net, linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-tegra@...r.kernel.org
Subject: Re: [PATCH V2 2/3] gpio: gpiolib: Support for open drain/collector
gpios
On Fri, Feb 17, 2012 at 08:26:21PM +0530, Laxman Dewangan wrote:
> Adding support for the open drain gpio on which client
> can specify the open drain property through GPIO flag
> GPIOF_OPEN_DRAIN at the time of gpio request.
> The open drain pins are normally pulled high and it
> cannot be driven to output with value of 1 and so
> when client request for setting the pin to HIGH, the
> gpio will be set to input direction to make pin in tristate
> and hence PULL-UP on pins will make the state to HIGH.
> The open drain pin can be driven to LOW by setting output
> with value of 0.
Reviwed-by: Mark Brown <broonie@...nsource.wolfsonmicro.com>
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists