Re: [PATCH 2/2] gpio: rcar: Add R-Car X5H (R8A78000) support
From: Geert Uytterhoeven
Date: Tue Jul 07 2026 - 10:01:42 EST
Hi Bartosz,
On Tue, 7 Jul 2026 at 15:48, Bartosz Golaszewski <brgl@xxxxxxxxxx> wrote:
> On Mon, 6 Jul 2026 15:06:01 +0200, Marek Vasut <marek.vasut@xxxxxxxxxxx> said:
> > On 7/6/26 11:19 AM, Bartosz Golaszewski wrote:
> >>> +static inline int gpio_rcar_remap_offset(struct gpio_rcar_priv *p, int *offs)
> >>> +{
> >
> > I am hoping to get some input on this remap function.
>
> You mean its potential impact on performance or the implementation? In any
> case, as Geert said: a table of function pointers could help to improve it.
> I don't mind it in its current form if it works for you.
A table of register offsets.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds