APPLIED: [SRU][J/starfive-5.17][PATCH] UBUNTU: [Config] Enable CONFIG_GPIO_CDEV_V1

Kleber Souza kleber.sacilotto.de.souza at canonical.com
Wed Aug 17 09:31:26 UTC 2022


On 20.07.22 12:40, Emil Renner Berthing wrote:
> 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 at canonical.com>

Applied to jammy:linux-starfive-5.17.

Thanks,
Kleber

> ---
>   debian.starfive/config/annotations          | 4 ++++
>   debian.starfive/config/config.common.ubuntu | 2 +-
>   2 files changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/debian.starfive/config/annotations b/debian.starfive/config/annotations
> index e63c731b3b6d..0a3c0a0559f0 100644
> --- a/debian.starfive/config/annotations
> +++ b/debian.starfive/config/annotations
> @@ -646,9 +646,13 @@ CONFIG_GPIOLIB                                  policy<{'riscv64': 'y'}>
>   CONFIG_GPIOLIB_FASTPATH_LIMIT                   policy<{'riscv64': '512'}>
>   CONFIG_DEBUG_GPIO                               policy<{'riscv64': 'n'}>
>   CONFIG_GPIO_SYSFS                               policy<{'riscv64': 'y'}>
> +CONFIG_GPIO_CDEV                                policy<{'riscv64': 'y'}>
> +CONFIG_GPIO_CDEV_V1                             policy<{'riscv64': 'y'}>
>   CONFIG_GPIO_AGGREGATOR                          policy<{'riscv64': 'm'}>
>   CONFIG_GPIO_MOCKUP                              policy<{'riscv64': 'n'}>
>   
> +CONFIG_GPIO_CDEV_V1                             note<LP:1953613>
> +
>   # Menu: Device Drivers >> GPIO Support >> I2C GPIO expanders
>   CONFIG_GPIO_ADP5588                             policy<{'riscv64': 'm'}>
>   CONFIG_GPIO_ADNP                                policy<{'riscv64': 'm'}>
> diff --git a/debian.starfive/config/config.common.ubuntu b/debian.starfive/config/config.common.ubuntu
> index 7a64a868a628..de3ec779467b 100644
> --- a/debian.starfive/config/config.common.ubuntu
> +++ b/debian.starfive/config/config.common.ubuntu
> @@ -2421,7 +2421,7 @@ CONFIG_GPIO_BD71828=m
>   CONFIG_GPIO_BD9571MWV=m
>   CONFIG_GPIO_CADENCE=m
>   CONFIG_GPIO_CDEV=y
> -# CONFIG_GPIO_CDEV_V1 is not set
> +CONFIG_GPIO_CDEV_V1=y
>   CONFIG_GPIO_DA9052=m
>   CONFIG_GPIO_DA9055=m
>   CONFIG_GPIO_DLN2=m



More information about the kernel-team mailing list