Re: [PATCH 2/3] gpio: timberdale: use device properties
From: Andy Shevchenko
Date: Fri Mar 13 2026 - 06:24:31 EST
On Fri, Mar 13, 2026 at 12:21:54PM +0200, Andy Shevchenko wrote:
> On Fri, Mar 13, 2026 at 11:04:49AM +0100, Bartosz Golaszewski wrote:
...
> Shouldn't this be done in the respective callbacks before the
> devm_gpiochip_add_data() finishes? (Yes, it's not related to this
> patch, but it is related to seems racy driver initialisation.
And with that being said, wouldn't be better to move the driver to one
of the generic library (gpio-regmap / gpio-mmio)?
Also it mentions FPGA in the header, I am wondering what that FPGA is.
Perhaps we have already similar driver in the kernel from the FPGA vendor?
--
With Best Regards,
Andy Shevchenko