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

Linus Walleij linus.walleij at linaro.org
Fri May 3 01:29:11 PDT 2024


On Fri, Apr 26, 2024 at 9:33 AM Bartosz Golaszewski <brgl at bgdev.pl> 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



More information about the linux-arm-kernel mailing list