Re: [PATCH v3 09/11] serial: sc16is7xx: add I/O register translation offset

From: andy . shevchenko
Date: Fri May 26 2023 - 14:43:23 EST


Thu, May 25, 2023 at 01:20:46PM -0400, Hugo Villeneuve kirjoitti:
> On Thu, 25 May 2023 11:31:45 -0400
> Hugo Villeneuve <hugo@xxxxxxxxxxx> wrote:
> > On Thu, 25 May 2023 14:22:46 +0300
> > andy.shevchenko@xxxxxxxxx wrote:
> > > Thu, May 25, 2023 at 12:03:23AM -0400, Hugo Villeneuve kirjoitti:

...

> > > Wondering if you can always register 8 pins and use valid mask to define which
> > > one are in use?
> >
> > I will look into it, I think it may be a good idea and could help to
> > simplify things a bit.
>
> finally, this was the way to go. The resulting code/patch is much simpler and
> elegant this way. Thank you for the suggestion.
>
> I will submit a V4 with all the changes.

Thank you for trying!

--
With Best Regards,
Andy Shevchenko