For this, we make usage of driver_check_compatible() primitive.
Patch 1 is giving access to driver_check_compatible()
Patch 2 is adding find_udevice_id() which parses the driver
of_match list and returns the driver corresponding entry.
Patrice Chotard (2):
dm: core: give access to driver_check_compatible()
cmd: bind: allow to bind driver with driver data
cmd/bind.c | 29 ++++++++++++++++++++++++++++-
drivers/core/lists.c | 6 +++---
include/dm/lists.h | 12 ++++++++++++
3 files changed, 43 insertions(+), 4 deletions(-)