Re: [PATCH v4 3/9] serdev: Do not return -ENODEV from of_serdev_register_devices() if external connector is used

Andy Shevchenko
2026-01-12T19:24:07Z

On Mon, Jan 12, 2026 at 09:56:02PM +0530, Manivannan Sadhasivam via B4 Relay wrote:

> If an external connector like M.2 is connected to the serdev controller
> in DT, then the serdev devices may be created dynamically by the connector
> driver. So do not return -ENODEV from of_serdev_register_devices() if the
> static nodes are not found and the graph node is used.

...

> + if (!found && !of_graph_is_present(ctrl->dev.of_node))

dev_of_node()

> return -ENODEV;

--
With Best Regards,
Andy Shevchenko