Re: [PATCH] gpio: octeon: allocate the GPIO base dynamically

From: Bartosz Golaszewski

Date: Wed Oct 28 2026 - 05:46:36 EST



On Tue, 27 Oct 2026 06:02:21 +0000, Orgad Shaneh wrote:
> The driver registers its chip with base 0, which gpiolib reports on
> every boot:
>
> gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
>
> Nothing needs the fixed numbers. The only in-tree consumers, the
> gpio-leds nodes of the D-Link DSR boards, reference the controller by
> phandle; the GPIO interrupts go through the octeon-irq domain; and no
> board code uses the legacy integer API. Let gpiolib pick the base. Only
> the chip's number in the deprecated sysfs interface changes.
>
> [...]

Applied, thanks!

[1/1] gpio: octeon: allocate the GPIO base dynamically
https://git.kernel.org/brgl/c/dd2ad62e78990087bb62864ae76e7c2251fe5b90

Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>