Re: [PATCH v2 0/6] MIPS: alchemy: attach software nodes to GPIO controllers and use properties
From: Thomas Bogendoerfer
Date: Tue May 26 2026 - 10:47:54 EST
On Wed, May 20, 2026 at 09:07:11AM +0200, Bartosz Golaszewski wrote:
> On Tue, May 19, 2026 at 11:15 PM Thomas Bogendoerfer
> <tsbogend@xxxxxxxxxxxxxxxx> wrote:
> >
> > On Tue, May 19, 2026 at 01:52:16PM +0200, Bartosz Golaszewski wrote:
> > > On Tue, May 5, 2026 at 3:31 PM Manuel Lauss <manuel.lauss@xxxxxxxxx> wrote:
> > > >
> > > > Hello Bartosz,
> > > >
> > > > On Tue, May 5, 2026 at 11:09 AM Bartosz Golaszewski
> > > > <bartosz.golaszewski@xxxxxxxxxxxxxxxx> wrote:
> > > > >
> > > > > This series of patches updates board previously converted to use static
> > > > > device properties/software nodes to attach and use nodes attached to the
> > > > > respective gpiochip devices rather than simply defining unattached
> > > > > software nodes with matching name. This is a requirement of newer
> > > > > gpiolib code. Note that there is currently a workaround preserving the
> > > > > lookup based on the software node name, but it will be removed soon.
> > > > >
> > > > > The additional 4 patches convert the remaining 2 boards to use software
> > > > > nodes as well and fix some build warnings.
> > > >
> > > > I have run-tested this on the DB1300, without any issues.
> > > > Tested-by: Manuel Lauss <manuel.lauss@xxxxxxxxx>
> > > >
> > > > Thanks a lot!
> > > > Manuel
> > >
> > > Hi Thomas!
> > >
> > > Can you please queue these for v7.2?
> >
> > sure, will do.
> >
>
> While at it, can you also queue these?
>
> https://lore.kernel.org/all/20260430-mips-rb532-gpio-v1-1-845a0c6206a5@xxxxxxxxxxxxxxxx/
> https://lore.kernel.org/all/20260430112410.65986-1-bartosz.golaszewski@xxxxxxxxxxxxxxxx/
I've them now in my mips-next tree, but the alchmey series doesn't build
with gcc 10.2.1:
/local/tbogendoerfer/korg/linux/arch/mips/alchemy/board-mtx1.c:88:47: error: initializer element is not constant
88 | .properties = (const struct property_entry[]){
| ^
Thomas.
--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]