]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit253d0cb4da5af9cabb70b28740dc6de37966e36e
treed57ba2c151df8e7b643d65ed2ebfc0c120b1274f
parent9c934fc75aa81c6b7f3fbe0898f08abdcab8cf46
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