Re: [PATCH 2/3] Input: adafruit-seesaw - add interrupt support

From: Charles Dias

Date: Fri May 22 2026 - 16:32:47 EST


On Sun, Apr 19, 2026 at 4:24 PM Charles Dias <charles.embedded@xxxxxxxxx> wrote:
>
> On Tue, Mar 24, 2026 at 10:59 AM Charles Dias
> <charles.embedded@xxxxxxxxx> wrote:
> >
> > On Mon, Mar 23, 2026 at 2:12 AM Dmitry Torokhov
> > <dmitry.torokhov@xxxxxxxxx> wrote:
> > >
> > > Hi Charles,
> > >
> > > On Sat, Mar 21, 2026 at 05:24:45PM -0300, charles.embedded@xxxxxxxxx wrote:
> > > > @@ -289,6 +341,19 @@ static int seesaw_probe(struct i2c_client *client)
> > > > input_set_max_poll_interval(seesaw->input_dev, SEESAW_GAMEPAD_POLL_MAX);
> > > > input_set_min_poll_interval(seesaw->input_dev, SEESAW_GAMEPAD_POLL_MIN);
> > > >
> > > > + if (client->irq) {
> > > > + err = seesaw_register_write_u32(client, SEESAW_GPIO_INTENSET, SEESAW_BUTTON_MASK);
> > > > + if (err)
> > > > + return dev_err_probe(&client->dev, err,
> > > > + "failed to enable hardware interrupts\n");
> > >
> > > Maybe this should be in seesaw_open()?
> > >
> > > Thanks.
> > >
> > > --
> > > Dmitry
> >
> > Hi Dmitry. Thank you for your review!
> >
> > Since this is a one-time setup, I believe it should remain as is
> > within the seesaw_probe() function, similar to other pin
> > configurations.
> >
> > Please let me know if I'm missing any point here.
> >
> > Best regards,
> > Charles Dias
>
> Hi Dmitry,
>
> I just wanted to follow up on my previous response regarding the initialization.
>
> Please let me know if there is anything else you'd like me to address
> or if there are any further changes needed on my end. Thank you!
>
> Best regards,
> Charles Dias

Hi Dmitry,

I would like to check whether my previous reply addressed your concern.

Best regards,
Charles Dias.