[PATCH v1 0/2] cmd: bind allow to bind driver with driver_data

Patrice Chotard patrice.chotard at st.com
Tue Apr 21 16:08:37 CEST 2020


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(-)

-- 
2.17.1



More information about the U-Boot mailing list