Re: [RFC 01/10] property: add fwnode_match_node()
From: Andy Shevchenko
Date: Mon Feb 21 2022 - 12:49:29 EST
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