gpio: Add use guidance documentation
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 8 Jan 2020 00:17:12 +0000 (01:17 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 15 Jan 2020 10:11:43 +0000 (11:11 +0100)
commitddb4e53fc72ec907f99199749cb4c71af4794607
tree290b0f050977a3023fe1c4a85c53858e061bbe5a
parentb0d126e1d64e76f165dc9ce6a4b02497c48053fb
gpio: Add use guidance documentation

The text in this new document is a response to recurring questions
about the GPIO in-kernel API vs the userspace ABI. When do you use
one or the other? It can be a bit intuitive, but I tried to sum it
all up.

Reviewed-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Link: https://lore.kernel.org/r/20200108001712.47500-1-linus.walleij@linaro.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/driver-api/gpio/drivers-on-gpio.rst
Documentation/driver-api/gpio/index.rst
Documentation/driver-api/gpio/using-gpio.rst [new file with mode: 0644]