Kconfig (12d16b397ce0a999d13762c4c0cae2fb82eb60ee) Kconfig (d143493c01b7fc3a9b9369a795e20329561222c5)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# GPIO infrastructure and drivers
4#
5
6config ARCH_HAVE_CUSTOM_GPIO_H
7 bool
8 help

--- 52 unchanged lines hidden (view full) ---

61config GPIO_SYSFS
62 bool "/sys/class/gpio/... (sysfs interface)"
63 depends on SYSFS
64 help
65 Say Y here to add the legacy sysfs interface for GPIOs.
66
67 This ABI is deprecated. If you want to use GPIO from userspace,
68 use the character device /dev/gpiochipN with the appropriate
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# GPIO infrastructure and drivers
4#
5
6config ARCH_HAVE_CUSTOM_GPIO_H
7 bool
8 help

--- 52 unchanged lines hidden (view full) ---

61config GPIO_SYSFS
62 bool "/sys/class/gpio/... (sysfs interface)"
63 depends on SYSFS
64 help
65 Say Y here to add the legacy sysfs interface for GPIOs.
66
67 This ABI is deprecated. If you want to use GPIO from userspace,
68 use the character device /dev/gpiochipN with the appropriate
69 ioctl() operations instead. The character device is always
70 available.
69 ioctl() operations instead.
71
70
71config GPIO_CDEV
72 bool
73 prompt "Character device (/dev/gpiochipN) support" if EXPERT
74 default y
75 help
76 Say Y here to add the character device /dev/gpiochipN interface
77 for GPIOs. The character device allows userspace to control GPIOs
78 using ioctl() operations.
79
80 Only say N if you are sure that the GPIO character device is not
81 required.
82
83 If unsure, say Y.
84
72config GPIO_GENERIC
73 depends on HAS_IOMEM # Only for IOMEM drivers
74 tristate
75
76config GPIO_REGMAP
77 depends on REGMAP
78 tristate
79

--- 1500 unchanged lines hidden ---
85config GPIO_GENERIC
86 depends on HAS_IOMEM # Only for IOMEM drivers
87 tristate
88
89config GPIO_REGMAP
90 depends on REGMAP
91 tristate
92

--- 1500 unchanged lines hidden ---