OSDN Git Service

gpio: sim: new testing module
authorBartosz Golaszewski <brgl@bgdev.pl>
Tue, 7 Dec 2021 09:34:09 +0000 (10:34 +0100)
committerBartosz Golaszewski <brgl@bgdev.pl>
Fri, 17 Dec 2021 11:26:13 +0000 (12:26 +0100)
commitcb8c474e79be458f58e9df073f51ca159f3a2aa0
tree5569186140044e532e8ba13a3b62ee44b59a6b46
parentac627260cf525300d5d13e67279a89911f1ad928
gpio: sim: new testing module

Implement a new, modern GPIO testing module controlled by configfs
attributes instead of module parameters. The goal of this driver is
to provide a replacement for gpio-mockup that will be easily extensible
with new features and doesn't require reloading the module to change
the setup.

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/admin-guide/gpio/gpio-sim.rst [new file with mode: 0644]
drivers/gpio/Kconfig
drivers/gpio/Makefile
drivers/gpio/gpio-sim.c [new file with mode: 0644]