On Sun, Aug 31, 2025 at 10:19:38PM +0200, Duje Mihanović wrote: > On Sunday, 31 August 2025 21:24:54 Central European Summer Time Karel Balej > wrote: > > Duje Mihanović, 2025-08-31T12:33:05+02:00:
... > > > + iio->dev.of_node = dev->parent->of_node; > > > > Didn't you mean to drop this since Jonathan pointed out that it's done > > by the core? > > Actually I have found that device tree consumers fail to get their IO > channels without this line, so I left it. because the passed device is not parent? In any case this line is problematic. Use device_set_node() instead with the proper dev_fwnode() parameter. -- With Best Regards, Andy Shevchenko