Re: [PATCH v2 00/10] Introduce configfs-based interface for gpio-aggregator

From: Koichiro Den
Date: Thu Feb 13 2025 - 09:10:55 EST


On Wed, Feb 12, 2025 at 02:14:23PM GMT, Geert Uytterhoeven wrote:
> Hi Den-san,
>
> On Mon, 3 Feb 2025 at 04:12, Koichiro Den <koichiro.den@xxxxxxxxxxxxx> 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:
> >
> > #1. No way to determine when GPIO aggregator creation is complete.
> > #2. No way to retrieve errors when creating a GPIO aggregator.
> > #3. No way to trace a GPIO line of an aggregator back to its
> > corresponding physical device.
> > #4. The 'new_device' echo does not indicate which virtual gpiochip<N>
> > was created.
> > #5. No way to assign names to GPIO lines exported through an aggregator.
> >
> > Although Issue#1 to #3 could technically be resolved easily without
> > configfs, using configfs offers a streamlined, modern, and extensible
> > approach, especially since gpio-sim and gpio-virtuser already utilize
> > configfs.
>
> Thanks for your series!
>
> I gave it a try using all three ways of configuration (sysfs, configs,
> DT), and it works fine!
>
> Tested-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
>
> Gr{oetje,eeting}s,

Thank you very much for the through review! I'll reply to each of your comment.

Koichiro

>
> Geert
>
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx
>
> In personal conversations with technical people, I call myself a hacker. But
> when I'm talking to journalists I just say "programmer" or something like that.
> -- Linus Torvalds