Re: [RFC 01/10] property: add fwnode_match_node()

Andy Shevchenko
2022-02-21T17:49:18Z

On Mon, Feb 21, 2022 at 05:26:43PM +0100, Clément Léger wrote:
> Add a function equivalent to of_match_node() which is usable for fwnode
> support. Matching is based on the compatible property and it returns
> the best matches for the node according to the compatible list
> ordering.

Not sure I understand the purpose of this API.
We have device_get_match_data(), maybe you want similar for fwnode?

--
With Best Regards,
Andy Shevchenko