Re: [PATCH] platform/x86: barco-p50-gpio: attach software node to its target GPIO device
From: Dmitry Torokhov
Date: Thu Apr 02 2026 - 13:35:08 EST
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
Thanks.
--
Dmitry