[PATCH 04/22] media: Move v4l2_fwnode_parse_link from v4l2 to driver base

Andy Shevchenko andy.shevchenko at gmail.com
Tue Aug 6 06:41:18 UTC 2019

On Tue, Aug 6, 2019 at 2:37 AM Steve Longerbeam <slongerbeam at gmail.com> wrote:
> There is nothing v4l2-specific about v4l2_fwnode_{parse|put}_link().
> Make these functions more generally available by moving them to driver
> base, with the appropriate name changes to the functions and struct.
> In the process embed a 'struct fwnode_endpoint' in 'struct fwnode_link'
> for both sides of the link, and make use of fwnode_graph_parse_endpoint()
> to fully parse both endpoints. Rename members local_node and
> remote_node to more descriptive local_port_parent and
> remote_port_parent.

May I ask if it's going to be used outside of v4l2?
Any user in mind?

With Best Regards,
Andy Shevchenko

More information about the devel mailing list