Re: [PATCH v7 0/9] Introduce configfs-based interface for gpio-aggregator
From: Bartosz Golaszewski
Date: Wed Apr 09 2025 - 09:58:24 EST
From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>
On Mon, 07 Apr 2025 13:30:10 +0900, Koichiro Den wrote:
> This patch series introduces a configfs-based interface to gpio-aggregator
> to address limitations in the existing 'new_device' interface.
>
> The existing 'new_device' interface has several limitations:
>
> Issue#1. No way to determine when GPIO aggregator creation is complete.
> Issue#2. No way to retrieve errors when creating a GPIO aggregator.
> Issue#3. No way to trace a GPIO line of an aggregator back to its
> corresponding physical device.
> Issue#4. The 'new_device' echo does not indicate which virtual
> gpiochip<N> was created.
> Issue#5. No way to assign names to GPIO lines exported through an
> aggregator.
>
> [...]
Applied, thanks!
[1/9] gpio: aggregator: reorder functions to prepare for configfs introduction
https://git.kernel.org/brgl/linux/c/7a56efeabffd13a162073068b8e29113c65f9e64
[2/9] gpio: aggregator: unify function naming
https://git.kernel.org/brgl/linux/c/7616dd97ae22e5f69b24774455673d183d4191c9
[3/9] gpio: aggregator: add gpio_aggregator_{alloc,free}()
https://git.kernel.org/brgl/linux/c/88fe1d1a646b3b01dcc335c44e7b33ea510f620e
[4/9] gpio: aggregator: introduce basic configfs interface
https://git.kernel.org/brgl/linux/c/2b72a5399eae25ee2cfd447efa3012f1d9d7257d
[5/9] gpio: aggregator: rename 'name' to 'key' in gpio_aggregator_parse()
https://git.kernel.org/brgl/linux/c/26ec717c3b160d00a91e647c8ecfa33eaf645b05
[6/9] gpio: aggregator: expose aggregator created via legacy sysfs to configfs
https://git.kernel.org/brgl/linux/c/09708f2b1cee33d585606932fb0ff5bb4c49f48d
[7/9] gpio: aggregator: cancel deferred probe for devices created via configfs
https://git.kernel.org/brgl/linux/c/62cf750f23a8905be5cf4471087068c1fe2e2d5b
[8/9] Documentation: gpio: document configfs interface for gpio-aggregator
https://git.kernel.org/brgl/linux/c/017ae62c1d0bb4b3c29c8a15dc7c130e3c4783b8
[9/9] selftests: gpio: add test cases for gpio-aggregator
https://git.kernel.org/brgl/linux/c/93ada5ce07889271aefb22147280cfd9cf3da5d8
Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>