Re: [PATCH 2/2] gpio: rcar: Add R-Car X5H (R8A78000) support

From: Bartosz Golaszewski

Date: Tue Jul 07 2026 - 10:05:49 EST


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:
>
> Hello Bartosz,
>
>>> +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.

Bart