gpiolib: Add and use OF_GPIO_SINGLE_ENDED flag
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 12 Oct 2015 21:20:21 +0000 (00:20 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 16 Oct 2015 20:49:26 +0000 (22:49 +0200)
commit90b665f627b18822a7bbebeff44ce730ccf74275
treed57ba2c151df8e7b643d65ed2ebfc0c120b1274f
parent923b93e451db876d1479d3e4458fce14fec31d1c
gpiolib: Add and use OF_GPIO_SINGLE_ENDED flag

The flag matches the DT GPIO_SINGLE_ENDED flag and allows drivers to
parse and use the DT flag to handle single-ended (open-drain or
open-source) GPIOs.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib.c
include/linux/of_gpio.h