qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 2/7] gpiolib: Add support for gpiochipN-based table lookup


From: Linus Walleij
Subject: Re: [PATCH v3 2/7] gpiolib: Add support for gpiochipN-based table lookup
Date: Thu, 12 Dec 2019 15:36:22 +0100

On Thu, Dec 12, 2019 at 2:33 PM Geert Uytterhoeven <address@hidden> wrote:
> On Thu, Dec 12, 2019 at 2:20 PM Linus Walleij <address@hidden> wrote:
> > On Wed, Nov 27, 2019 at 9:43 AM Geert Uytterhoeven
> > <address@hidden> wrote:
> > > Currently GPIO controllers can only be referred to by label in GPIO
> > > lookup tables.
> > >
> > > Add support for looking them up by "gpiochipN" name, with "N" either the
> > > corresponding GPIO device's ID number, or the GPIO controller's first
> > > GPIO number.
> > >
> > > Signed-off-by: Geert Uytterhoeven <address@hidden>
> >
> > What the commit message is missing is a rationale, why is this needed?
>
> Right. To be added: so they can be looked up in the GPIO lookup table
> using either the chip's label, or the "gpiochipN" name.

After reading the aggregator/forwarder driver I am not convinced
that this is needed at all and I think this patch can be dropped,
but check my review and see what you think!

Thanks,
Linus Walleij



reply via email to

[Prev in Thread] Current Thread [Next in Thread]