]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
UBUNTU: [Config] Enable CONFIG_GPIO_CDEV_V1
authorEmil Renner Berthing <emil.renner.berthing@canonical.com>
Wed, 20 Jul 2022 10:40:20 +0000 (12:40 +0200)
committerAndrea Righi <andrea.righi@canonical.com>
Thu, 9 Mar 2023 14:57:50 +0000 (15:57 +0100)
BugLink: https://bugs.launchpad.net/bugs/1953613
Enable v1 of the character device interface for manipulating GPIOs from
userspace. The latest released libgpiod2 library and gpiod tools are
still using this interface and it may be a while before every userspace
program has been ported to a newer version.

Signed-off-by: Emil Renner Berthing <emil.renner.berthing@canonical.com>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
debian.master/config/annotations
debian.master/config/config.common.ubuntu

index bb8692adcd1b496ea9af7b01621e998747def116..4a8ed296c57318a4408f0eeb9c83fa6811b289d9 100644 (file)
@@ -1819,7 +1819,9 @@ CONFIG_GPIOLIB_FASTPATH_LIMIT                   policy<{'amd64': '512', 'arm64':
 CONFIG_DEBUG_GPIO                               policy<{'amd64': 'n', 'arm64': 'n', 'armhf': 'n', 'ppc64el': 'n', 'riscv64': 'n', 's390x': 'n'}>
 CONFIG_GPIO_SYSFS                               policy<{'amd64': 'y', 'arm64': 'y', 'armhf': 'y', 'ppc64el': 'y', 'riscv64': 'y', 's390x': 'y'}>
 CONFIG_GPIO_CDEV                                policy<{'amd64': 'y', 'arm64': 'y', 'armhf': 'y', 'ppc64el': 'y', 'riscv64': 'y', 's390x': 'y'}>
-CONFIG_GPIO_CDEV_V1                             policy<{'amd64': 'n', 'arm64': 'n', 'armhf': 'n', 'ppc64el': 'n', 'riscv64': 'n', 's390x': 'n'}>
+CONFIG_GPIO_CDEV_V1                             policy<{'amd64': 'y', 'arm64': 'y', 'armhf': 'y', 'ppc64el': 'y', 'riscv64': 'y', 's390x': 'y'}>
+
+CONFIG_GPIO_CDEV_V1                             note<LP:1953613>
 
 # Menu: Device Drivers >> GPIO Support >> I2C GPIO expanders
 CONFIG_GPIO_ADP5588                             policy<{'amd64': 'm', 'arm64': 'm', 'armhf': 'm', 'ppc64el': 'm', 'riscv64': 'm', 's390x': 'n'}>
index 3e416f6841f675a9b03f86a7e52bd816ad9f7197..ea7cb0df2e7708e7c8b7d2eedbba3c9e428247ba 100644 (file)
@@ -4125,7 +4125,7 @@ CONFIG_GPIO_BRCMSTB=m
 CONFIG_GPIO_BT8XX=m
 CONFIG_GPIO_CADENCE=m
 CONFIG_GPIO_CDEV=y
-# CONFIG_GPIO_CDEV_V1 is not set
+CONFIG_GPIO_CDEV_V1=y
 CONFIG_GPIO_CRYSTAL_COVE=y
 CONFIG_GPIO_DA9052=m
 CONFIG_GPIO_DA9055=m