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(-) -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html