Re: [PATCH 4/4] mfd: tqmx86: add I2C IRQ support

From: Lee Jones
Date: Mon Jun 17 2024 - 04:54:57 EST


On Mon, 17 Jun 2024, Matthias Schiffer wrote:

> On Fri, 2024-06-14 at 10:49 +0100, Lee Jones wrote:
> >
> >
> > Note: Careful not to cut away too much context when replying.
> >
> > On Fri, 14 Jun 2024, Gregor Herburger wrote:
> >
> > > On Thu, Jun 13, 2024 at 04:42:34PM +0100, Lee Jones wrote:
> > > > Just one question; what is (7, 9, 12)?
> > > >
> > > > And why is it the same as the GPIO one? Copy/paste error?
> > > >
> > > Those are the IRQ numbers of the PLD. Both blocks, GPIO and I2C, can be
> > > configured to use IRQ12, IRQ9 or IRQ7.
> >
> > Might I suggest we make that super clear in the help?
> >
> > (IRQ7, IRQ9 {and,or} IRQ12)
>
> Well, 7, 9 and 12 are the values you would pass as the module parameter (and we don't want to change
> this, as it would be a breaking change). Maybe the following?
>
> "GPIO IRQ number (possible values: 7, 9, 12)"

"possible parameters" makes this clear.

--
Lee Jones [李琼斯]