Re: [PATCH v3 02/14] serdev: Add an API to find the serdev controller associated with the devicetree node
From: Andy Shevchenko
Date: Mon Jan 12 2026 - 03:06:15 EST
On Mon, Jan 12, 2026 at 01:25:21PM +0530, Manivannan Sadhasivam wrote:
> On Mon, Jan 12, 2026 at 09:50:33AM +0200, Andy Shevchenko wrote:
> > On Sat, Jan 10, 2026 at 12:26:20PM +0530, Manivannan Sadhasivam via B4 Relay wrote:
> >
> > > Add of_find_serdev_controller_by_node() API to find the serdev controller
> > > device associated with the devicetree node.
> >
> > Why OF-centric code? No, please do it fwnode-based.
>
> No issues for me. But the existing APIs in serdev are OF based. If uniformity is
> not needed, I can change it to a fwnode based API.
Really? serdev.h has no OF APIs.
--
With Best Regards,
Andy Shevchenko