Re: [PATCH 0/3] gpio: brcmstb: add support for gpio-ranges

From: Linus Walleij
Date: Fri May 03 2024 - 04:29:34 EST


On Fri, Apr 26, 2024 at 9:33 AM Bartosz Golaszewski <brgl@xxxxxxxx> wrote:

> [2/3] gpio: of: support gpio-ranges for multiple gpiochip devices
> commit: e818cd3c8a345c046edff00b5ad0be4d39f7e4d4

I'm not sure this is a good idea. To me it looks like the commit violates
the device tree bindings, which says offsets are on the local GPIO chip
and turn them into offsets in the Linux GPIO numberspace.

Yours,
Linus Walleij