[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZtnLtgLRq68usPgf@freedom.csh.rit.edu>
Date: Thu, 5 Sep 2024 11:18:14 -0400
From: Mary Strodl <mstrodl@...edom.csh.rit.edu>
To: Linus Walleij <linus.walleij@...aro.org>
Cc: Mary Strodl <mstrodl@....rit.edu>, linux-kernel@...r.kernel.org,
brgl@...ev.pl, linux-gpio@...r.kernel.org
Subject: Re: [PATCH] gpio: add support for FTDI's MPSSE as GPIO
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
Powered by blists - more mailing lists