Re: [PATCH] gpio: add support for FTDI's MPSSE as GPIO
From: Linus Walleij
Date: Fri Oct 11 2024 - 07:59:54 EST
On Thu, Sep 5, 2024 at 5:18 PM Mary Strodl <mstrodl@xxxxxxxxxxxxxxxxxxx> wrote:
> On Thu, Aug 29, 2024 at 10:11:13AM -0400, Mary Strodl wrote:
> > > > + u8 gpio_outputs[2]; /* Output states for GPIOs [L, H] */
> > > > + u8 gpio_dir[2]; /* Directions for GPIOs [L, H] */
> > >
> > > Caching states of lines is a bit regmap territory. Have you looked into
> > > just using regmap?
> >
> > Do you mean gpio_regmap or using regmap directly? I'm not sure that gpio_regmap
> > will do what I want because I need to provide an irq_chip (and I don't see a way
> > to "break the glass" and access the gpio_chip directly)
>
> I realize you're busy, but wanted to make sure you saw this question in my previous
> email. I've got a patch ready to go that addresses all your feedback except this point.
Actually the mail was caught in the spam folder, I don't know why.
I'll whitelist your mail address so it doesn't happen again.
Yours,
Linus Walleij