Re: [PATCH] gpio: add support for FTDI's MPSSE as GPIO
From: Mary Strodl
Date: Thu Sep 05 2024 - 11:18:32 EST
Hey Linus,
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.
Thanks again for reviewing!
Mary Strodl