[PATCH 02/10] driver: consult feature controller prior to device probe

Philipp Zabel p.zabel at pengutronix.de
Thu Aug 18 01:19:54 PDT 2022


Hi Ahmad,

On Do, 2022-08-18 at 07:19 +0200, Ahmad Fatoum wrote:
> The newly added feature controller framework has two goals: Avoid
> probing device in barebox that aren't indeed available

This specific wording makes me wonder why this isn't implemented inside
of_device_is_available().

This would also take care of other devices querying device node
availability, for example via of_graph_port_is_available(), if that
ever happens.

regards
Philipp



More information about the barebox mailing list