Thread (57 messages) 57 messages, 14 authors, 3d ago

Re: [PATCH 07/23] driver core: platform: provide platform_device_set_fwnode()

From: Bartosz Golaszewski <brgl@kernel.org>
Date: 2026-06-04 12:32:31
Also in: dri-devel, driver-core, imx, intel-xe, linux-arm-msm, linux-devicetree, linux-i2c, linux-iommu, linux-mips, linux-pm, linux-sound, linux-usb, lkml, netdev, platform-driver-x86

On Tue, 2 Jun 2026 23:41:53 +0200, Andy Shevchenko
[off-list ref] said:
On Thu, May 21, 2026 at 10:36:30AM +0200, Bartosz Golaszewski wrote:
quoted
Provide a helper function encapsulating the logic of assigning firmware
nodes to platform devices created with platform_device_alloc(). Make the
kerneldoc state that this is the proper interface for assigning firmware
nodes to dynamically allocated platform devices. This will allow us to
switch to counting the references of the device's firmware nodes in the
future, not only the OF nodes.
But why different for of_node and fwnode to begin with?!
I'm not following. What are you suggesting?

Bartosz
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help