]> asedeno.scripts.mit.edu Git - linux.git/commit
gpio: of: Add support for multiple GPIOs in a single GPIO hog
authorGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 19 Dec 2016 18:21:34 +0000 (19:21 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 30 Dec 2016 08:26:54 +0000 (09:26 +0100)
commita79fead50f06886311f37777d03b20b058749ce1
treed6f9b172e547abc5bb48f383d543059f34ca4dc2
parentbaddc7ca446c18c68a0c8b298fd9920bf049efce
gpio: of: Add support for multiple GPIOs in a single GPIO hog

When listing multiple GPIOs in the "gpios" property of a GPIO hog, only
the first GPIO is affected.  The user is left clueless about the
dysfunctioning of the other GPIOs specified.

Fix this by adding and documenting support for specifying multiple
GPIOs in a single GPIO hog.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/devicetree/bindings/gpio/gpio.txt
drivers/gpio/gpiolib-of.c