mbox series

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

Message ID 20200421140840.25729-1-patrice.chotard@st.com
Headers show
Series cmd: bind allow to bind driver with driver_data | expand

Message

Patrice CHOTARD April 21, 2020, 2:08 p.m. UTC
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(-)