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

Kleber Souza kleber.sacilotto.de.souza at canonical.com
Wed Aug 17 09:35:16 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-allwinner-5.17.

Thanks,
Kleber

> ---
>   debian.allwinner/config/annotations          | 4 ++++
>   debian.allwinner/config/config.common.ubuntu | 2 +-
>   2 files changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/debian.allwinner/config/annotations b/debian.allwinner/config/annotations
> index af918c4ba4ca..05ad9970dd9e 100644
> --- a/debian.allwinner/config/annotations
> +++ b/debian.allwinner/config/annotations
> @@ -660,9 +660,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.allwinner/config/config.common.ubuntu b/debian.allwinner/config/config.common.ubuntu
> index 1e74c6c576a8..77f51fecb1ae 100644
> --- a/debian.allwinner/config/config.common.ubuntu
> +++ b/debian.allwinner/config/config.common.ubuntu
> @@ -2469,7 +2469,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