Re: [PATCH 08/23] driver core: platform: provide platform_device_set_of_node_from_dev()

From
Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Date
2026-06-02 21:45:13
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, linuxppc-dev, lkml, platform-driver-x86
Reply to
Bartosz Golaszewski, 2026-05-21
On Thu, May 21, 2026 at 10:36:31AM +0200, Bartosz Golaszewski wrote:
Provide a platform-specific variant of device_set_of_node_from_dev(). In
addition to bumping the reference count of the OF node being assigned,
it also assigns the fwnode of the platform device.
Can we rather investigate the way how to make that of node reuse thingy
(which is used solely by pin control) differently and then drop this confusing
device_set_of_node_from_dev() call altogether?

-- 
With Best Regards,
Andy Shevchenko

Thread (58 messages) 58 messages, 14 authors, last reply 2026-06-29
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help