Add a new kernel config option to enable GPIO_CDEV_V1. This is currently
disabled, but required by libgpiod. Make it a config option so we can
change it to enabled by default, while allowing users to override this
default in case they need the new ABI.
As this should be a noop change, leave the actual change of the default
for a separate commit.
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
for GPIOs. The character device allows userspace to control GPIOs
using ioctl() operations.
+config KERNEL_GPIO_CDEV_V1
+ bool "GPIO character device ABI v1"
+ depends on KERNEL_GPIO_CDEV
+ default n
+ help
+ Say Y here to support version 1 of the GPIO CDEV ABI.
+
+ This ABI version is deprecated.
+ Please use the latest ABI for new developments.
+
config KERNEL_DEVMEM
bool "/dev/mem virtual device support"
help
# CONFIG_GPIO_BT8XX is not set
# CONFIG_GPIO_CADENCE is not set
# CONFIG_GPIO_CASCADE is not set
-# CONFIG_GPIO_CDEV_V1 is not set
# CONFIG_GPIO_CS5535 is not set
# CONFIG_GPIO_DWAPB is not set
# CONFIG_GPIO_EM is not set
# CONFIG_GPIO_BT8XX is not set
# CONFIG_GPIO_CADENCE is not set
# CONFIG_GPIO_CASCADE is not set
-# CONFIG_GPIO_CDEV_V1 is not set
# CONFIG_GPIO_CS5535 is not set
# CONFIG_GPIO_DWAPB is not set
# CONFIG_GPIO_EM is not set