OpenCloudOS-Kernel/Documentation/driver-api/gpio
Janusz Krzysztofik bf9346f5d4 gpiolib: Identify arrays matching GPIO hardware
Certain GPIO array lookup results may map directly to GPIO pins of a
single GPIO chip in hardware order.  If that condition is recognized
and handled efficiently, significant performance gain of get/set array
functions may be possible.

While processing a request for an array of GPIO descriptors, identify
those which represent corresponding pins of a single GPIO chip.  Skip
over pins which require open source or open drain special processing.
Moreover, identify pins which require inversion.  Pass a pointer to
that information with the array to the caller so it can benefit from
enhanced performance as soon as get/set array functions can accept and
make efficient use of it.

Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Janusz Krzysztofik <jmkrzyszt@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2018-09-13 11:16:12 +02:00
..
board.rst gpiolib: add hogs support for machine code 2018-05-16 14:35:24 +02:00
consumer.rst gpiolib: Identify arrays matching GPIO hardware 2018-09-13 11:16:12 +02:00
driver.rst Documentation: gpio: driver: Fix a typo and some odd grammar 2018-05-16 13:07:54 -06:00
drivers-on-gpio.rst gpio: Add a reference to CEC on GPIO 2018-05-16 14:35:24 +02:00
index.rst
intro.rst
legacy.rst