Re: [PATCH v2 2/3] driver core: platform: allow attaching software nodes when creating devices

From: Bartosz Golaszewski

Date: Mon Feb 16 2026 - 08:31:23 EST


On Sat, 14 Feb 2026 03:52:44 +0100, Dmitry Torokhov
<dmitry.torokhov@xxxxxxxxx> said:
> Extend platform_device_info structure with an optional pointer to a
> software node to be used as a secondary firmware node for the device
> being created. If software node has not been registered yet it will be
> automatically registered.
>
> This reduces boilerplate needed when switching legacy board code to
> static device properties/GPIO references.
>
> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>

Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>