Re: [PATCH] platform/x86: barco-p50-gpio: attach software node to its target GPIO device

From: Bartosz Golaszewski

Date: Fri Apr 03 2026 - 03:31:07 EST


On Thu, Apr 2, 2026 at 7:30 PM Dmitry Torokhov
<dmitry.torokhov@xxxxxxxxx> wrote:
>
> On Thu, Apr 02, 2026 at 06:39:16PM +0200, Bartosz Golaszewski wrote:
> >
> > Ah, maybe sashiko wasn't wrong after all but it definitely could do a
> > better job explaining the actual issue.
>
> Yeah, I agree. OTOH it did notice the problem. I missed it when I first
> read the patch.
>
> > I missed the fact that this is
> > not a device described in firmware and as such doesn't have a firmware
> > node. I see it now. Ok, I'll fix it in v2. In fact, I'll probably wait
> > until v7.1-rc1 and use the new .swnode field.
>
> Danilo tagged the commit adding swnode to platform_device_info so you
> can ask to pull it in when applying the patch:
>
> https://git.kernel.org/pub/scm/linux/kernel/git/driver-core/driver-core.git/tag/?h=platform_device_info_swnode-7.1-rc1
>

I'm not a maintainer for x86 platform drivers. It's not urgent, I'll
respin it after v7.1-rc1.

Bart