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

Manivannan Sadhasivam
2026-01-14T16:02:48Z

On Mon, Jan 12, 2026 at 09:23:58PM +0200, Andy Shevchenko wrote:
> 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()
>

Ack.

- Mani

--
மணிவண்ணன் சதாசிவம்