[PATCH V2 0/3] Open drain/open source support from gpio library

Laxman Dewangan
2012-02-17T14:58:52Z

This patch is as per discussion on the patch
[PATCH V1] regulator: fixed: Support for open-drain gpio
where it was suggested to push the handling of open drain gpios
into the gpio libray.

This is series of patches to add support of the open drain and open
source gpios in standard gpio library.
- Added GPIOF_OPEN_DRAIN flag so that client can request the
gpio with this flag. Handle open drain gpio configuration properly.
- Added GPIOF_OPEN_SOURCE flag so that client can request the
gpio with this flag. Handle open source gpio configuration properly.
- Gpio documentation changes to have support for open-drain.

>From the patch series of V1, it is discussed to
- remove the sysfs interface supportsi for open drain.
- Added open source support as a new change.

Laxman Dewangan (3):
Documentation: gpio: Add details of open-drain/source configuration
gpio: gpiolib: Support for open drain/collector gpios
gpio: gpiolib: Support for open source/emitter gpios

Documentation/gpio.txt | 17 +++++++++-
drivers/gpio/gpiolib.c | 83 ++++++++++++++++++++++++++++++++++++++++++++++-
include/linux/gpio.h | 6 +++
3 files changed, 102 insertions(+), 4 deletions(-)