[PATCH v2 0/4] spi: Make SPI core to take care of fwnode assignment
Linus Walleij
linusw at kernel.org
Tue Jan 13 21:13:22 AEDT 2026
On Mon, Jan 12, 2026 at 9:35 PM Andy Shevchenko
<andriy.shevchenko at linux.intel.com> wrote:
> It seems all of the SPI drivers want to propagate fwnode (or of_node)
> of the physical device to the SPI device. Make sure we don't duplicate
> it over and over in each new driver (+2 in this cycle) by making core
> to take care of that. Note, similar is done already by IIO and
> I²C subsystems.
>
> There is one noticeable and quite specific case that is taken care in
> the first patch and now we have a confirmation from Cirrus that everything
> is okay. The rest is just a mechanical conversion after checking that
> the parent device is assigned to the same that provides the respective
> fwnode.
This is clearly making the kernel a better place.
The series:
Reviewed-by: Linus Walleij <linusw at kernel.org>
Yours,
Linus Walleij
More information about the openbmc
mailing list