]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
UBUNTU: [Config] Enable CONFIG_GPIO_CDEV_V1
authorEmil Renner Berthing <emil.renner.berthing@canonical.com>
Wed, 20 Jul 2022 10:40:00 +0000 (12:40 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Wed, 10 Aug 2022 07:25:38 +0000 (09:25 +0200)
BugLink: https://bugs.launchpad.net/bugs/1953613
Enable v1 of the character device interface for manipulating GPIOs from
userspace. The libgpiod2 library and gpiod tools in Jammy are still
using this interface.

Signed-off-by: Emil Renner Berthing <emil.renner.berthing@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
debian.master/config/annotations
debian.master/config/config.common.ubuntu

index 8ce1396221a8ef76e551b65bad8aba062a5b0981..1997923ffe513af62e70c32e6e06ec72320b262e 100644 (file)
@@ -1845,7 +1845,9 @@ CONFIG_GPIOLIB_FASTPATH_LIMIT                   policy<{'amd64': '512', 'arm64':
 CONFIG_DEBUG_GPIO                               policy<{'amd64': 'n', 'arm64': 'n', 'armhf': 'n', 'ppc64el': 'n', 's390x': 'n'}>
 CONFIG_GPIO_SYSFS                               policy<{'amd64': 'y', 'arm64': 'y', 'armhf': 'y', 'ppc64el': 'y', 's390x': 'y'}>
 CONFIG_GPIO_CDEV                                policy<{'amd64': 'y', 'arm64': 'y', 'armhf': 'y', 'ppc64el': 'y', 's390x': 'y'}>
-CONFIG_GPIO_CDEV_V1                             policy<{'amd64': 'n', 'arm64': 'n', 'armhf': 'n', 'ppc64el': 'n', 's390x': 'n'}>
+CONFIG_GPIO_CDEV_V1                             policy<{'amd64': 'y', 'arm64': 'y', 'armhf': 'y', 'ppc64el': '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', 's390x': 'n'}>
index dd7a3403e37e7d8fe47bfa686a5d5c24f678803b..d5d1b085185cea5a232eb86cdc1dfa677f20ba85 100644 (file)
@@ -3963,7 +3963,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