summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/Kconfig
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2019-05-23 08:54:19 +0200
committerLinus Walleij <linus.walleij@linaro.org>2019-05-28 10:28:15 +0200
commitdb9477f8b549b12943f513c18c7b10acd7d97e6e (patch)
tree0b4b5c44dfc06023bbd33f901137dc3e5336efa9 /drivers/gpio/Kconfig
parentgpio: vf610: Use PTR_ERR_OR_ZERO() in vf610_gpio_probe() (diff)
downloadlinux-db9477f8b549b12943f513c18c7b10acd7d97e6e.tar.xz
linux-db9477f8b549b12943f513c18c7b10acd7d97e6e.zip
gpio: Update Kconfig text for GPIO_SYSFS
This feature is deprecated, it is helpful to inform users about this. I'm resisting the temptation to add "depends on BROKEN" to this, but saving that for later. Reviewed-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/Kconfig')
-rw-r--r--drivers/gpio/Kconfig14
1 files changed, 5 insertions, 9 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index be832eb73627..3d17d40fa635 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -62,16 +62,12 @@ config GPIO_SYSFS
bool "/sys/class/gpio/... (sysfs interface)"
depends on SYSFS
help
- Say Y here to add a sysfs interface for GPIOs.
+ Say Y here to add the legacy sysfs interface for GPIOs.
- This is mostly useful to work around omissions in a system's
- kernel support. Those are common in custom and semicustom
- hardware assembled using standard kernels with a minimum of
- custom patches. In those cases, userspace code may import
- a given GPIO from the kernel, if no kernel driver requested it.
-
- Kernel drivers may also request that a particular GPIO be
- exported to userspace; this can be useful when debugging.
+ This ABI is deprecated. If you want to use GPIO from userspace,
+ use the character device /dev/gpiochipN with the appropriate
+ ioctl() operations instead. The character device is always
+ available.
config GPIO_GENERIC
depends on HAS_IOMEM # Only for IOMEM drivers